| Package | com.yogurt3d.core.animation.controllers |
| Class | public class SkinController |
| Inheritance | SkinController flash.events.EventDispatcher |
| Implements | ITickedObject, IController |
| Property | Defined By | ||
|---|---|---|---|
| currentAnimation : String [read-only] | SkinController | ||
| lastPlayedFrame : uint [read-only] | SkinController | ||
| mesh : SkeletalAnimatedMesh [read-only] | SkinController | ||
| Method | Defined By | ||
|---|---|---|---|
| SkinController | |||
addAnimation(_id:String, _data:SkeletalAnimationData):void | SkinController | ||
addFrameEventListener(type:String, listener:Function, frame:uint):void | SkinController | ||
dispose():void | SkinController | ||
gotoAndPlay(frame:uint):void | SkinController | ||
hasAnimation(_id:String):Boolean | SkinController | ||
pause():void | SkinController | ||
play():void | SkinController | ||
playAnimation(_id:String, _startFrame:uint = 0, _loopCount:uint = 0, blendMode:uint = 0, blendDuration:Number = 0):void | SkinController | ||
removeFrameEventListener(type:String, listener:Function, frame:uint):void | SkinController | ||
stop():void | SkinController | ||
updateWithTimeInfo(_timeInfo:TimeInfo):void | SkinController | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| SkinController | ||||
| SkinController | ||||
| Constant | Defined By | ||
|---|---|---|---|
| BLEND_ANIMATED : uint = 2 [static] | SkinController | ||
| BLEND_SWITCH : uint = 0 [static] | SkinController | ||
| BLEND_THEN_ANIMATE : uint = 1 [static] | SkinController | ||
| STATE_PAUSED : uint = 1 [static] | SkinController | ||
| STATE_PLAYING : uint = 0 [static] | SkinController | ||
| STATE_STARTING : uint = 3 [static] | SkinController | ||
| STATE_STOPPED : uint = 2 [static] | SkinController | ||
| currentAnimation | property |
currentAnimation:String [read-only] public function get currentAnimation():String| lastPlayedFrame | property |
lastPlayedFrame:uint [read-only] public function get lastPlayedFrame():uint| m_animations | property |
YOGURT3D_INTERNAL var m_animations:Dictionary| m_blendDuration | property |
YOGURT3D_INTERNAL var m_blendDuration:Number| m_blendingAnimation | property |
YOGURT3D_INTERNAL var m_blendingAnimation:String| m_blendMode | property |
YOGURT3D_INTERNAL var m_blendMode:uint| m_currentAnimation | property |
YOGURT3D_INTERNAL var m_currentAnimation:String| m_currentState | property |
YOGURT3D_INTERNAL var m_currentState:uint = 2| m_frameEventListeners | property |
YOGURT3D_INTERNAL var m_frameEventListeners:Dictionary| m_lastFrame | property |
YOGURT3D_INTERNAL var m_lastFrame:uint| m_lastPlayedFrame | property |
YOGURT3D_INTERNAL var m_lastPlayedFrame:uint| m_loopCount | property |
YOGURT3D_INTERNAL var m_loopCount:int = 0| m_mesh | property |
YOGURT3D_INTERNAL var m_mesh:SkeletalAnimatedMesh| m_startFrame | property |
YOGURT3D_INTERNAL var m_startFrame:uint = 0| m_startFrameOld | property |
YOGURT3D_INTERNAL var m_startFrameOld:uint = 0| m_startTime | property |
YOGURT3D_INTERNAL var m_startTime:uint = 0| m_startTimeOld | property |
YOGURT3D_INTERNAL var m_startTimeOld:uint = 0| mesh | property |
mesh:SkeletalAnimatedMesh [read-only] public function get mesh():SkeletalAnimatedMesh| SkinController | () | Constructor |
| addAnimation | () | method |
public function addAnimation(_id:String, _data:SkeletalAnimationData):voidParameters
_id:String | |
_data:SkeletalAnimationData |
| addFrameEventListener | () | method |
public function addFrameEventListener(type:String, listener:Function, frame:uint):voidParameters
type:String | |
listener:Function | |
frame:uint |
| dispose | () | method |
public function dispose():void| gotoAndPlay | () | method |
public function gotoAndPlay(frame:uint):voidParameters
frame:uint |
| hasAnimation | () | method |
public function hasAnimation(_id:String):BooleanParameters
_id:String |
Boolean |
| pause | () | method |
public function pause():void| play | () | method |
public function play():void| playAnimation | () | method |
public function playAnimation(_id:String, _startFrame:uint = 0, _loopCount:uint = 0, blendMode:uint = 0, blendDuration:Number = 0):void
Parameters
_id:String | |
_startFrame:uint (default = 0) | |
_loopCount:uint (default = 0) | |
blendMode:uint (default = 0) | |
blendDuration:Number (default = 0) |
| removeFrameEventListener | () | method |
public function removeFrameEventListener(type:String, listener:Function, frame:uint):voidParameters
type:String | |
listener:Function | |
frame:uint |
| stop | () | method |
public function stop():void| updateWithTimeInfo | () | method |
| endOfAnimation | Event |
| endOfLoop | Event |
| BLEND_ANIMATED | Constant |
public static const BLEND_ANIMATED:uint = 2| BLEND_SWITCH | Constant |
public static const BLEND_SWITCH:uint = 0| BLEND_THEN_ANIMATE | Constant |
public static const BLEND_THEN_ANIMATE:uint = 1| STATE_PAUSED | Constant |
public static const STATE_PAUSED:uint = 1| STATE_PLAYING | Constant |
public static const STATE_PLAYING:uint = 0| STATE_STARTING | Constant |
public static const STATE_STARTING:uint = 3| STATE_STOPPED | Constant |
public static const STATE_STOPPED:uint = 2