Class SerializableSprite
- Namespace
- Lime
- Assembly
- Lime.dll
[SerializableAsset(new string[] { "png" })]
public sealed class SerializableSprite : ISprite, ISerializableAsset
- Inheritance
-
SerializableSprite
- Implements
- Inherited Members
- Extension Methods
Constructors
SerializableSprite()
public SerializableSprite()
SerializableSprite(string)
public SerializableSprite(string path)
Parameters
path
string
Properties
AtlasSize
public Vector2 AtlasSize { get; }
Property Value
AtlasTexture
public ITexture AtlasTexture { get; }
Property Value
IndexCount
public int IndexCount { get; }
Property Value
IsRectangular
public bool IsRectangular { get; }
Property Value
SerializationPath
[YuzuMember]
public string SerializationPath { get; set; }
Property Value
Size
public Vector2 Size { get; }
Property Value
VertexCount
public int VertexCount { get; }
Property Value
Methods
GetIndex(int)
public ushort GetIndex(int index)
Parameters
index
int
Returns
GetUV(int)
public Vector2 GetUV(int index)
Parameters
index
int
Returns
GetVertex(int)
public Vector2 GetVertex(int index)
Parameters
index
int
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
ValidateRectangular(Node, string)
public bool ValidateRectangular(Node node, string useContext)