Struct MultiMeshInstance2D

Node that instances a MultiMesh in 2D.

struct MultiMeshInstance2D ;

MultiMeshInstance2D is a specialized node to instance a MultiMesh resource in 2D. Usage is the same as MultiMeshInstance.

Properties

NameTypeDescription
multimesh[get, set] MultiMeshThe MultiMesh that will be drawn by the MultiMeshInstance2D.
normalMap[get, set] TextureThe normal map that will be used if using the default CanvasItemMaterial.
texture[get, set] TextureThe Texture that will be used if using the default CanvasItemMaterial. Can be accessed as TEXTURE in CanvasItem shader.

Methods

NameDescription
getMultimesh
getNormalMap
getTexture
setMultimesh
setNormalMap
setTexture