Struct MeshTexture
Simple texture that uses a mesh to draw itself.
struct MeshTexture
;
It's limited because flags can't be changed and region drawing is not supported.
Properties
Name | Type | Description |
---|---|---|
baseTexture [get, set]
|
Texture | Sets the base texture that the Mesh will use to draw. |
imageSize [get, set]
|
Vector2 | Sets the size of the image, needed for reference. |
mesh [get, set]
|
Mesh | Sets the mesh used to draw. It must be a mesh using 2D vertices. |
Methods
Name | Description |
---|---|
getBaseTexture
|
|
getImageSize
|
|
getMesh
|
|
setBaseTexture
|
|
setImageSize
|
|
setMesh
|