Click or drag to resize

EditorSpatialGizmoSetHandle Method

This function is used when the user drags a gizmo handle (previously added with AddHandles(Vector3, Material, Boolean, Boolean)) in screen coordinates.

The Camera is also provided so screen coordinates can be converted to raycasts.

Namespace:  Godot
Assembly:  GodotSharpEditor (in GodotSharpEditor.dll) Version: 1.0.0
Syntax
C#
public virtual void SetHandle(
	int index,
	Camera camera,
	Vector2 point
)

Parameters

index
Type: SystemInt32

[Missing <param name="index"/> documentation for "M:Godot.EditorSpatialGizmo.SetHandle(System.Int32,Godot.Camera,Godot.Vector2)"]

camera
Type: GodotCamera

[Missing <param name="camera"/> documentation for "M:Godot.EditorSpatialGizmo.SetHandle(System.Int32,Godot.Camera,Godot.Vector2)"]

point
Type: GodotVector2

[Missing <param name="point"/> documentation for "M:Godot.EditorSpatialGizmo.SetHandle(System.Int32,Godot.Camera,Godot.Vector2)"]

See Also