Velaptor.Graphics.AtlasSubTextureData
Velaptor
Velaptor.Graphics
AtlasSubTextureData Struct
Holds data about a texture atlas sub texture.
public readonly struct AtlasSubTextureData
Properties
Bounds
Gets the bounds of the sub texture data.
public System.Drawing.Rectangle Bounds { get; set; }
Property Value
FrameIndex
Gets the index of the sub texture frame.
public int FrameIndex { get; set; }
Property Value
Remarks
This is used for frames of animation. A negative value indicates
whether or not the sub texture is part of any animation frames.
Name
Gets the name of the sub texture.
public string Name { get; set; }