ParticleBezierCurveNode
A particle animation node used to control the position of a particle over time along a bezier curve.
Inherited from ParticleNodeBase -> AnimationNodeBase -> NamedAssetBase -> EventDispatcher
Can be created using method new:
Lib.Away3D.Animators.Nodes.ParticleBezierCurveNode.new(mode, controlPoint, endPoint) |
Creates a new ParticleBezierCurveNode |
mode - Defines whether the mode of operation acts on local properties of a particle or global properties of the node. (Int) controlPoint - Defines the default control point of the node, used when in global mode. (Vector3D) nil by default. endPoint - Defines the default end point of the node, used when in global mode. (Vector3D) nil by default |
CreatedParticleBezierCurveNode has methods:
getAGALVertexCode(pass, animationRegisterCache) |
[override] Returns the AGAL code of the particle animation node for use in the vertex shader. |
pass - (MaterialPassBase) animationRegisterCache - (AnimationRegisterCache) |
getAnimationState(animator) |
Return (ParticleBezierCurveState) |
animator - IAnimator can be one of ParticleAnimator, SkeletonAnimator, SpriteSheetAnimator, UVAnimator, VertexAnimator |
Constants:
Lib.Away3D.Animators.Nodes.ParticleBezierCurveNode.BEZIER_CONTROL_VECTOR3D |
Reference for bezier curve node properties on a single particle (when in local property mode). Expects a Vector3D object representing the control point position (0, 1, 2) of the curve. |
Lib.Away3D.Animators.Nodes.ParticleBezierCurveNode.BEZIER_END_VECTOR3D |
Reference for bezier curve node properties on a single particle (when in local property mode). Expects a Vector3D object representing the end point position (0, 1, 2) of the curve. |
Created with the Personal Edition of HelpNDoc: Generate Kindle eBooks with ease