W3cubDocs

/Godot 4.2

MultiMeshInstance2D

Inherits: Node2D < CanvasItem < Node < Object

Node that instances a MultiMesh in 2D.

Description

MultiMeshInstance2D is a specialized node to instance a MultiMesh resource in 2D.

Usage is the same as MultiMeshInstance3D.

Properties

MultiMesh

multimesh

Texture2D

texture

Signals

texture_changed ( )

Emitted when the texture is changed.

Property Descriptions

MultiMesh multimesh

The MultiMesh that will be drawn by the MultiMeshInstance2D.

Texture2D texture

The Texture2D that will be used if using the default CanvasItemMaterial. Can be accessed as TEXTURE in CanvasItem shader.

© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_multimeshinstance2d.html