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

NameTypeDescription
baseTexture[get, set] TextureSets the base texture that the Mesh will use to draw.
imageSize[get, set] Vector2Sets the size of the image, needed for reference.
mesh[get, set] MeshSets the mesh used to draw. It must be a mesh using 2D vertices.

Methods

NameDescription
getBaseTexture
getImageSize
getMesh
setBaseTexture
setImageSize
setMesh