EditorSpatialGizmoAddMesh Method |
Adds a mesh to the gizmo with the specified billboard state, skeleton and material. If billboard is true, the mesh will rotate to always face the camera. Call this function during Redraw.
Namespace: Godot
public void AddMesh( ArrayMesh mesh, bool billboard = false, SkinReference skeleton = null, Material material = null )
[Missing <param name="mesh"/> documentation for "M:Godot.EditorSpatialGizmo.AddMesh(Godot.ArrayMesh,System.Boolean,Godot.SkinReference,Godot.Material)"]
[Missing <param name="billboard"/> documentation for "M:Godot.EditorSpatialGizmo.AddMesh(Godot.ArrayMesh,System.Boolean,Godot.SkinReference,Godot.Material)"]
[Missing <param name="skeleton"/> documentation for "M:Godot.EditorSpatialGizmo.AddMesh(Godot.ArrayMesh,System.Boolean,Godot.SkinReference,Godot.Material)"]
[Missing <param name="material"/> documentation for "M:Godot.EditorSpatialGizmo.AddMesh(Godot.ArrayMesh,System.Boolean,Godot.SkinReference,Godot.Material)"]