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
| Name | Type | Description |
|---|---|---|
multimesh[get, set]
|
MultiMesh | The MultiMesh that will be drawn by the MultiMeshInstance2D.
|
normalMap[get, set]
|
Texture | The normal map that will be used if using the default CanvasItemMaterial.
|
texture[get, set]
|
Texture | The Texture that will be used if using the default CanvasItemMaterial. Can be accessed as TEXTURE in CanvasItem shader.
|
Methods
| Name | Description |
|---|---|
getMultimesh
|
|
getNormalMap
|
|
getTexture
|
|
setMultimesh
|
|
setNormalMap
|
|
setTexture
|