Package | away3d.animators.nodes |
Class | public class ParticleBezierCurveNode |
Inheritance | ParticleBezierCurveNode ParticleNodeBase AnimationNodeBase NamedAssetBase flash.events.EventDispatcher |
Method | Defined By | ||
---|---|---|---|
ParticleBezierCurveNode(mode:uint, controlPoint:Vector3D = null, endPoint:Vector3D = null)
Creates a new ParticleBezierCurveNode
| ParticleBezierCurveNode | ||
assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | ||
dispose():void
Cleans up resources used by this asset. | AnimationNodeBase | ||
Returns the AGAL code of the particle animation node for use in the fragment shader. | ParticleNodeBase | ||
Returns the AGAL code of the particle animation node for use in the fragment shader when UV coordinates are required. | ParticleNodeBase | ||
[override]
Returns the AGAL code of the particle animation node for use in the vertex shader. | ParticleBezierCurveNode | ||
ParticleBezierCurveNode | |||
getParticleNodeName(particleNodeClass:Object, particleNodeMode:uint):String [static]
| ParticleNodeBase | ||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
Constant | Defined By | ||
---|---|---|---|
BEZIER_CONTROL_VECTOR3D : String = BezierControlVector3D [static]
Reference for bezier curve node properties on a single particle (when in local property mode). | ParticleBezierCurveNode | ||
BEZIER_END_VECTOR3D : String = BezierEndVector3D [static]
Reference for bezier curve node properties on a single particle (when in local property mode). | ParticleBezierCurveNode | ||
DEFAULT_NAMESPACE : String = default [static] | NamedAssetBase |
ParticleBezierCurveNode | () | Constructor |
public function ParticleBezierCurveNode(mode:uint, controlPoint:Vector3D = null, endPoint:Vector3D = null)
Creates a new ParticleBezierCurveNode
mode:uint — Defines whether the mode of operation acts on local properties of a particle or global properties of the node.
| |
controlPoint:Vector3D (default = null ) — controlPoint Defines the default control point of the node, used when in global mode.
| |
endPoint:Vector3D (default = null ) — endPoint Defines the default end point of the node, used when in global mode.
|
generatePropertyOfOneParticle | () | method |
override arcane function generatePropertyOfOneParticle(param:ParticleProperties):void
Called internally by the particle animation set when assigning the set of static properties originally defined by the initParticleFunc of the set.
Parameters
param:ParticleProperties |
getAGALVertexCode | () | method |
override public function getAGALVertexCode(pass:MaterialPassBase, animationRegisterCache:AnimationRegisterCache):String
Returns the AGAL code of the particle animation node for use in the vertex shader.
Parameters
pass:MaterialPassBase | |
animationRegisterCache:AnimationRegisterCache |
String |
getAnimationState | () | method |
public function getAnimationState(animator:IAnimator):ParticleBezierCurveState
Parameters
animator:IAnimator |
ParticleBezierCurveState |
BEZIER_CONTROL_VECTOR3D | Constant |
public static const BEZIER_CONTROL_VECTOR3D:String = BezierControlVector3D
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.
BEZIER_END_VECTOR3D | Constant |
public static const BEZIER_END_VECTOR3D:String = BezierEndVector3D
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.