Node used for displaying a [Mesh] in 2D.
Node used for displaying a [Mesh] in 2D. A [MeshInstance2D] can be automatically created from an existing [Sprite2D] via a tool in the editor toolbar. Select the [Sprite2D] node, then choose [b]Sprite2D > Convert to MeshInstance2D[/b] at the top of the 2D editor viewport.
$DOCS_URL/tutorials/2d/2d_meshes.html
The [Mesh] that will be drawn by the [MeshInstance2D].
The [Texture2D] that will be used if using the default [CanvasItemMaterial]. Can be accessed as [code]TEXTURE[/code] in CanvasItem shader.
Emitted when the [member texture] is changed.