Package | away3d.animators.nodes |
Class | public class ParticleUVNode |
Inheritance | ParticleUVNode ParticleNodeBase AnimationNodeBase NamedAssetBase flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
assetFullPath : Array [read-only] | NamedAssetBase | ||
assetNamespace : String [read-only] | NamedAssetBase | ||
assetType : String [read-only]
| AnimationNodeBase | ||
axis : String | ParticleUVNode | ||
cycle : Number | ParticleUVNode | ||
dataLength : int [read-only]
Returns the length of the data used by the node when in LOCAL_STATIC mode. | ParticleNodeBase | ||
mode : uint [read-only]
Returns the property mode of the particle animation node. | ParticleNodeBase | ||
name : String | NamedAssetBase | ||
oneData : Vector.<Number> [read-only]
Returns the generated data vector of the node after one particle pass during the generation of all local static data of the particle animation set. | ParticleNodeBase | ||
originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | ||
priority : int [read-only]
Returns the priority of the particle animation node, used to order the agal generated in a particle animation set. | ParticleNodeBase | ||
scale : Number | ParticleUVNode | ||
stateClass : Class [read-only] | AnimationNodeBase |
Method | Defined By | ||
---|---|---|---|
ParticleUVNode(mode:uint, cycle:Number = 1, scale:Number = 1, axis:String = x)
Creates a new ParticleTimeNode
| ParticleUVNode | ||
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 | ||
[override]
Returns the AGAL code of the particle animation node for use in the fragment shader when UV coordinates are required. | ParticleUVNode | ||
Returns the AGAL code of the particle animation node for use in the vertex shader. | ParticleNodeBase | ||
ParticleUVNode | |||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
Constant | Defined By | ||
---|---|---|---|
DEFAULT_NAMESPACE : String = default [static] | NamedAssetBase | ||
GLOBAL : uint = 1 [static]
Used to set the time node into global property mode. | ParticleUVNode | ||
U_AXIS : String = x [static]
| ParticleUVNode | ||
V_AXIS : String = y [static]
| ParticleUVNode |
axis | property |
axis:String
public function get axis():String
public function set axis(value:String):void
cycle | property |
cycle:Number
public function get cycle():Number
public function set cycle(value:Number):void
scale | property |
scale:Number
public function get scale():Number
public function set scale(value:Number):void
ParticleUVNode | () | Constructor |
public function ParticleUVNode(mode:uint, cycle:Number = 1, scale:Number = 1, axis:String = x)
Creates a new ParticleTimeNode
mode:uint — Defines whether the mode of operation acts on local properties of a particle or global properties of the node.
| |
cycle:Number (default = 1 ) — cycle Defines whether the time track is in loop mode. Defaults to false.
| |
scale:Number (default = 1 ) — scale Defines whether the time track is in loop mode. Defaults to false.
| |
axis:String (default = x ) — axis Defines whether the time track is in loop mode. Defaults to false.
|
getAGALUVCode | () | method |
override public function getAGALUVCode(pass:MaterialPassBase, animationRegisterCache:AnimationRegisterCache):String
Returns the AGAL code of the particle animation node for use in the fragment shader when UV coordinates are required.
Parameters
pass:MaterialPassBase | |
animationRegisterCache:AnimationRegisterCache |
String |
getAnimationState | () | method |
public function getAnimationState(animator:IAnimator):ParticleUVState
Parameters
animator:IAnimator |
ParticleUVState |
processAnimationSetting | () | method |
override arcane function processAnimationSetting(particleAnimationSet:ParticleAnimationSet):void
Called internally by the particle animation set when determining the requirements of the particle animation node AGAL.
Parameters
particleAnimationSet:ParticleAnimationSet |
GLOBAL | Constant |
public static const GLOBAL:uint = 1
Used to set the time node into global property mode.
U_AXIS | Constant |
public static const U_AXIS:String = x
V_AXIS | Constant |
public static const V_AXIS:String = y