EditorSpatialGizmoPluginCreateIconMaterial Method |
Creates an icon 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 AddUnscaledBillboard(Material, Single, NullableColor). Should not be overridden.
Namespace: Godot
public void CreateIconMaterial( string name, Texture texture, bool onTop = false, Color? color = null )
[Missing <param name="name"/> documentation for "M:Godot.EditorSpatialGizmoPlugin.CreateIconMaterial(System.String,Godot.Texture,System.Boolean,System.Nullable{Godot.Color})"]
[Missing <param name="texture"/> documentation for "M:Godot.EditorSpatialGizmoPlugin.CreateIconMaterial(System.String,Godot.Texture,System.Boolean,System.Nullable{Godot.Color})"]
[Missing <param name="onTop"/> documentation for "M:Godot.EditorSpatialGizmoPlugin.CreateIconMaterial(System.String,Godot.Texture,System.Boolean,System.Nullable{Godot.Color})"]