Struct TextureRegion
A pixel rectangle inside a texture.
public readonly record struct TextureRegion : IEquatable<TextureRegion>
- Implements
- Inherited Members
Constructors
TextureRegion(int, int, int, int)
A pixel rectangle inside a texture.
public TextureRegion(int X, int Y, int Width, int Height)
Parameters
Properties
Height
public int Height { get; init; }
Property Value
Width
public int Width { get; init; }
Property Value
X
public int X { get; init; }
Property Value
Y
public int Y { get; init; }