Свойство | Тип | Описание | |
---|---|---|---|
Loop | bool |
Метод | Описание | |
---|---|---|
AddFrame ( |
Adds a frame to the end of the animation with a certain texture, using the default duration (1/fps).
|
|
AddFrame ( |
Adds a frame with a certain texture and duration.
|
|
AddFrame ( |
Inserts a frame at the specified position. The successors will move down.
|
|
AddFrame ( |
Adds a frame with a certain texture, duration and sound.
|
|
AdvanceTime ( float seconds ) : void | ||
GetDurationAt ( int position ) : float |
Returns the duration (in seconds) of a frame at a certain position.
|
|
GetTextureAt ( int position ) : |
Returns the texture of a frame at a certain position.
|
|
MovieClip ( IList |
Initializes a MovieClip with an array of textures and the default number of frames per second.
|
|
MovieClip ( |
Initializes a movie with the first frame and the default number of frames per second.
|
|
Pause ( ) : void |
Pause playback.
|
|
Play ( ) : void |
Start playback. Beware that the clip has to be added to a Juggler too!
|
|
RemoveFrameAt ( int position ) : void |
Removes the frame at the specified position. The successors will move up.
|
|
RemoveFromJuggler ( ) : void |
Removes this object from its juggler(s) (if it has one)
|
|
SetDuration ( float duration, int position ) : void |
Sets the duration of a certain frame in seconds.
|
|
SetSoundAt ( object sound, int position ) : void |
Sets the sound that will be played back when a certain frame is active.
|
|
SetTexture ( |
Sets the texture of a certain frame.
|
|
Stop ( ) : void |
Stop playback. Resets currentFrame to beginning.
|
Метод | Описание | |
---|---|---|
PlayCurrentSound ( ) : void | ||
UpdateCurrentFrame ( ) : void |
public AddFrame ( |
||
texture | ||
Результат | void |
public AddFrame ( |
||
texture | ||
duration | float | |
Результат | void |
public AddFrame ( |
||
texture | ||
position | int | |
Результат | void |
public AddFrame ( |
||
texture | ||
position | int | |
duration | float | |
sound | object | |
Результат | void |
public AdvanceTime ( float seconds ) : void | ||
seconds | float | |
Результат | void |
public GetDurationAt ( int position ) : float | ||
position | int | |
Результат | float |
public GetTextureAt ( int position ) : |
||
position | int | |
Результат |
public MovieClip ( IList |
||
textures | IList |
|
fps | float | |
Результат | System |
public MovieClip ( |
||
texture | ||
fps | float | |
Результат | System |
public RemoveFrameAt ( int position ) : void | ||
position | int | |
Результат | void |
public SetDuration ( float duration, int position ) : void | ||
duration | float | |
position | int | |
Результат | void |
public SetSoundAt ( object sound, int position ) : void | ||
sound | object | |
position | int | |
Результат | void |
public SetTexture ( |
||
texture | ||
position | int | |
Результат | void |