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
-
rect
Portion of texture in points
-
rectInPixels
Portion of texture in pixels
-
rotated
-
texture
Texture inside the frame.
- Type
-
Rect
-
Rect
-
bool
-
Texture2D
- Writability
-
readwrite
-
readwrite
-
readwrite
-
readwrite