SpriteFrame Class Reference
| Inherits from | JavaScript Object |
| Location | aphid.g2d.SpriteFrame |
Overview of Constructors
-
SpriteFrame(texture, [rectInPixels])Create a frame from a portion of a texture.
Overview of Tasks
Attributes
- Name
-
rectPortion of texture in points
-
rectInPixelsPortion of texture in pixels
-
rotated -
textureTexture inside the frame.
- Type
-
Rect -
Rect -
bool -
Texture2D
- Writability
-
readwrite -
readwrite -
readwrite -
readwrite