Describes a sub-texture, which is a texture packed within a larger texture.
Max coordinates of the sub-texture; (x, y) both between [0, 1].
Min coordinates of the sub-texture; (x, y) both between [0, 1].
Unique name of the sub-texture; often a source-image (e.g., "Tex1.png").
Position inside the sub-texture used as the center for rotation.
Rotation angle in degrees wrt the main texture (e.g., to save space).
Index of the sheet in the muli-pack that contains the sub-texture.
The size of the sub texture in pixels.
The offest to the starting pixel in the source image.
Sentinal value representing no sub-texture.
value = SubTexture()
True if name is empty.
Generated using TypeDoc