Click or drag to resize

EditorSpatialGizmoAddHandles Method

Adds a list of handles (points) which can be used to deform the object being edited.

There are virtual functions which will be called upon editing of these handles. Call this function during Redraw.

Namespace:  Godot
Assembly:  GodotSharpEditor (in GodotSharpEditor.dll) Version: 1.0.0
Syntax
C#
public void AddHandles(
	Vector3[] handles,
	Material material,
	bool billboard = false,
	bool secondary = false
)

Parameters

handles
Type: GodotVector3

[Missing <param name="handles"/> documentation for "M:Godot.EditorSpatialGizmo.AddHandles(Godot.Vector3[],Godot.Material,System.Boolean,System.Boolean)"]

material
Type: GodotMaterial

[Missing <param name="material"/> documentation for "M:Godot.EditorSpatialGizmo.AddHandles(Godot.Vector3[],Godot.Material,System.Boolean,System.Boolean)"]

billboard (Optional)
Type: SystemBoolean

[Missing <param name="billboard"/> documentation for "M:Godot.EditorSpatialGizmo.AddHandles(Godot.Vector3[],Godot.Material,System.Boolean,System.Boolean)"]

secondary (Optional)
Type: SystemBoolean

[Missing <param name="secondary"/> documentation for "M:Godot.EditorSpatialGizmo.AddHandles(Godot.Vector3[],Godot.Material,System.Boolean,System.Boolean)"]

See Also