The name
of the sprite animation clip to play automatically when the component is enabled.
The batch group id that this sprite belongs to.
A dictionary containing data for all sprite animation clips. Each key is the index of the clip.
The color tint of the sprite, represented as an array of 3 numbers.
The draw order of the sprite; higher values are rendered on top of others.
Whether the component is enabled.
If true, flips the sprite on the X axis.
If true, flips the sprite on the Y axis.
The frame of the sprite asset to render.
The height of the sprite for 9-slicing rendering.
The layers this sprite belongs to.
The opacity of the sprite.
Global speed modifier for sprite animation clips.
The id
of the sprite asset used by the component.
The type of sprite component. Can be pc.SPRITETYPE_SIMPLE
or pc.SPRITETYPE_ANIMATED
.
The width of the sprite for 9-slicing rendering.
Sprite Component Properties.