Optional
base: BaseTextureThe BaseTexture to be used by the texture.
Optional
baseReference to the BaseTexture used by this texture.
The height of the clipped region.
The width of the clipped region.
The x-coordinate of the top-left corner of the clipped region.
The y-coordinate of the top-left corner of the clipped region.
The height of the texture.
Protected
scaleImage scaling factor
The width of the texture.
Set or change BaseTexture
Optional
base: BaseTextureSets the region of the texture to be used for rendering.
The x-coordinate of the top-left corner of the region.
The y-coordinate of the top-left corner of the region.
The width of the region.
The height of the region.
Static
fromStatic
from
Creates a new
Texture
instance with the specified base texture reference.