![]() |
EasyTalk API
|
Defines attributes of an image, which can also be animated if it includes more than one sprite. More...
Properties | |
string | ID [get, set] |
Gets or sets the ID of the image. | |
string | TargetID [get, set] |
Gets or sets the default target display ID for the image. | |
List< Sprite > | Sprites [get, set] |
Gets or sets the List of sprites for the image's sprite sequence. | |
bool | RandomizeImageWhenShown [get, set] |
Gets or sets whether the starting image will be selected randomly from the sprite list when shown. | |
AnimationMode | AnimationMode [get, set] |
Gets or sets the sprite sequence animation mode to use. | |
float | FrameRate [get, set] |
Gets or sets the frame rate (in frames per second) for the animation. | |
Private Attributes | |
string | id = "" |
The ID used to reference the image. | |
string | targetId = "" |
The default target display ID on which the image should be displayed. | |
List< Sprite > | sprites = new List<Sprite>() |
The sprite sequence used for the image's animation, or a single image in the case of non-animated images. | |
bool | randomizeImageWhenShown = false |
When set to true, the initial image will be chosen from the sprite list randomly when shown. | |
AnimationMode | animationMode = AnimationMode.NONE |
The animation mode used for the animation sequence when multiple sprites are defined. | |
float | frameRate = 16 |
The number of times per second that the image index will be updated. | |
Defines attributes of an image, which can also be animated if it includes more than one sprite.
|
private |
The animation mode used for the animation sequence when multiple sprites are defined.
|
private |
The number of times per second that the image index will be updated.
|
private |
The ID used to reference the image.
|
private |
When set to true, the initial image will be chosen from the sprite list randomly when shown.
|
private |
The sprite sequence used for the image's animation, or a single image in the case of non-animated images.
|
private |
The default target display ID on which the image should be displayed.
|
getset |
Gets or sets the sprite sequence animation mode to use.
|
getset |
Gets or sets the frame rate (in frames per second) for the animation.
|
getset |
Gets or sets the ID of the image.
|
getset |
Gets or sets whether the starting image will be selected randomly from the sprite list when shown.
|
getset |
Gets or sets the List of sprites for the image's sprite sequence.
|
getset |
Gets or sets the default target display ID for the image.