Holds the information needed to render an individual sprite from within a texture atlas.
A Sprite can be stripped of its transparent borders when inserted into a texture atlas.
PadLeft says how much was stripped from the left side etc
View code on GitHub
Namespace: DeltaEngine.DatatypesAssembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The AtlasRegion type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | AtlasRegion | Initializes a new instance of the AtlasRegion class |
Properties
Name | Description | |
---|---|---|
![]() | IsRotated | |
![]() | PadBottom | |
![]() | PadLeft | |
![]() | PadRight | |
![]() | PadTop | |
![]() | UV |
See Also