GizmoType
Determines how a gizmo is drawn or picked in the Unity editor.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: UnityEditor
- Assembly: UnityEditor
[Flags]public enum GizmoType
Remarks
The types can be combined together with an OR operator.
Additional Resources: DrawGizmo.
Fields
Value | Description |
|---|---|
| Active | Draw the gizmo if it is active (shown in the inspector). |
| InSelectionHierarchy | Draw the gizmo if it is selected or it is a child/descendent of the selected. |
| NonSelected | Draw the gizmo if it is not selected. |
| NotInSelectionHierarchy | Draw the gizmo if it is not selected and also no parent/ancestor is selected. |
| Pickable | The gizmo can be picked in the editor. |
| Selected | Draw the gizmo if it is selected. |