EditorSpatialGizmoPlugin.CreateMaterial Method |
Creates an unshaded material with its variants (selected and/or editable) and adds them to the internal material list. They can then be accessed with GetMaterial(String, EditorSpatialGizmo) and used in AddMesh(ArrayMesh, Boolean, SkinReference, Material) and AddLines(Vector3[], Material, Boolean, Nullable<Color>). Should not be overridden.
Namespace: Godot
public void CreateMaterial( string name, Color color, bool billboard = false, bool onTop = false, bool useVertexColor = false )
[Missing <param name="name"/> documentation for "M:Godot.EditorSpatialGizmoPlugin.CreateMaterial(System.String,Godot.Color,System.Boolean,System.Boolean,System.Boolean)"]
[Missing <param name="color"/> documentation for "M:Godot.EditorSpatialGizmoPlugin.CreateMaterial(System.String,Godot.Color,System.Boolean,System.Boolean,System.Boolean)"]
[Missing <param name="billboard"/> documentation for "M:Godot.EditorSpatialGizmoPlugin.CreateMaterial(System.String,Godot.Color,System.Boolean,System.Boolean,System.Boolean)"]
[Missing <param name="onTop"/> documentation for "M:Godot.EditorSpatialGizmoPlugin.CreateMaterial(System.String,Godot.Color,System.Boolean,System.Boolean,System.Boolean)"]
[Missing <param name="useVertexColor"/> documentation for "M:Godot.EditorSpatialGizmoPlugin.CreateMaterial(System.String,Godot.Color,System.Boolean,System.Boolean,System.Boolean)"]