프로퍼티 | 타입 | 설명 | |
---|---|---|---|
completionBehavior | AnimationCompletionBehavior | ||
delay | float | ||
frames | List |
||
totalDuration | float |
메소드 | 설명 | |
---|---|---|
SpriteAnimation ( ) : System.Collections.Generic | ||
SpriteAnimation ( List |
||
SpriteAnimation ( |
||
addFrame ( |
adds a frame to this animation
|
|
addFrames ( List |
adds multiple frames to this animation
|
|
prepareForUse ( ) : void |
called by SpriteT to calculate the secondsPerFrame and totalDuration based on the loop details and frame count
|
|
setFps ( float fps ) : |
||
setLoop ( bool loop ) : |
||
setOrigin ( |
sets the origin for all frames in this animation
|
|
setPingPong ( bool pingPong ) : |
public SpriteAnimation ( ) : System.Collections.Generic | ||
리턴 | System.Collections.Generic |
public SpriteAnimation ( List |
||
frames | List |
|
리턴 | System.Collections.Generic |
public SpriteAnimation ( |
||
frame | ||
리턴 | System.Collections.Generic |
public addFrame ( |
||
subtexture | Subtexture. | |
리턴 |
public addFrames ( List |
||
subtextures | List |
Subtextures. |
리턴 |
public setOrigin ( |
||
origin | ||
리턴 |
public setPingPong ( bool pingPong ) : |
||
pingPong | bool | |
리턴 |
public AnimationCompletionBehavior completionBehavior | ||
리턴 | AnimationCompletionBehavior |