MeshInstance2D
Inherits: Node2D < CanvasItem < Node < Object
Category: Core
Brief Description
Node used for displaying a Mesh in 2D.
Properties
Mesh | mesh |
Texture | normal_map |
Texture | texture |
Description
Node used for displaying a Mesh in 2D. Can be constructed from an existing Sprite use tool in Toolbar. Select “Sprite” then “Convert to Mesh2D”, select settings in popup and press “Create Mesh2D”.
Tutorials
Property Descriptions
- Mesh mesh
Setter | set_mesh(value) |
Getter | get_mesh() |
The Mesh that will be drawn by the MeshInstance2D.
- Texture normal_map
Setter | set_normal_map(value) |
Getter | get_normal_map() |
The normal map that will be used if using the default CanvasItemMaterial.
- 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.