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 MultiMeshInstance.
Properties
MultiMesh | multimesh |
Texture | normal_map |
Texture | texture |
Signals
texture_changed ( )
Emitted when the texture is changed.
Property Descriptions
MultiMesh multimesh
Setter | set_multimesh(value) |
Getter | get_multimesh() |
The MultiMesh that will be drawn by the MultiMeshInstance2D
.
Texture normal_map
Setter | set_normal_map(value) |
Getter | get_normal_map() |
The normal map that will be used if using the default CanvasItemMaterial.
Note: Godot expects the normal map to use X+, Y-, and Z+ coordinates. See this page for a comparison of normal map coordinates expected by popular engines.
Texture texture
Setter | set_texture(value) |
Getter | get_texture() |
The Texture that will be used if using the default CanvasItemMaterial. Can be accessed as TEXTURE
in CanvasItem shader.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_multimeshinstance2d.html