Skip to main content
Version: 1.0.0-preview.34

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

System.Drawing.Rectangle

FrameIndex

Gets the index of the sub texture frame.

public int FrameIndex { get; set; }

Property Value

System.Int32

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; }

Property Value

System.String