Class SpriteData
- Namespace
- Lime
- Assembly
- Lime.dll
public sealed class SpriteData
- Inheritance
-
SpriteData
- Inherited Members
-
Fields
AtlasSize
[YuzuMember]
public Size AtlasSize
Field Value
- Size
AtlasTexture
[YuzuMember]
public ITexture AtlasTexture
Field Value
- ITexture
Indices
[YuzuMember]
public ushort[] Indices
Field Value
- ushort[]
IsRectangular
[YuzuMember]
public bool IsRectangular
Field Value
- bool
Size
[YuzuMember]
public Size Size
Field Value
- Size
Vertices
[YuzuMember]
public Sprite.Vertex[] Vertices
Field Value
- Vertex[]
Methods
CreateRectangularFromTexture(ITexture)
public static SpriteData CreateRectangularFromTexture(ITexture texture)
Parameters
texture
ITexture
Returns
- SpriteData
CreateRectangularFromTexture(ITexture, IntRectangle)
public static SpriteData CreateRectangularFromTexture(ITexture texture, IntRectangle rectangle)
Parameters
texture
ITexture
rectangle
IntRectangle
Returns
- SpriteData