The region of the source image to use as the sprite. The image is treated as a unit rectangle; thus this rectangle should use values in the range of 0..1. For example, to use the bottom left portion of the image, the rectangle should go from (0, 0) to (0.5, 0.5)
The point in the sprite that is the sprite's center. Relative to the bottom-left corner of the sprite, in unit rectangle coordinates.
Generated using TypeDoc
A component describing a sprite as a sub-region of an image. Specifies the source Image2D atlas and the region to use.