Click or drag to resize

EditorSpatialGizmoPluginGetPriority Method

Override this method to set the gizmo's priority. Higher values correspond to higher priority. If a gizmo with higher priority conflicts with another gizmo, only the gizmo with higher priority will be used.

All built-in editor gizmos return a priority of -1. If not overridden, this method will return 0, which means custom gizmos will automatically override built-in gizmos.

Namespace:  Godot
Assembly:  GodotSharpEditor (in GodotSharpEditor.dll) Version: 1.0.0
Syntax
C#
public virtual int GetPriority()

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.EditorSpatialGizmoPlugin.GetPriority"]

See Also