RSX Code Reference
    Preparing search index...

    Class SceneGizmos

    The SceneGizmos renders gizmos that use the drawGizmo method decorator for the specified Camera.

    All decorated methods that are known by the editor will automatically become available. Unlike SceneInteractiveGizmos, the gizmos are passive and only draw extension within the editor.

    Index
    • Clears the currently selected/active interactive gizmo for the specified camera.

      Returns void

    • Order the gizmo drawing system to draw the current scene.

      Returns void

    • Gets the current gizmo for the specified component. If the component has no active gizmo, null is returned.

      Parameters

      Returns InteractiveGizmo[]

    • Is any interactive gizmo selected/active on the specified camera.

      Returns boolean

    • Register a gizmo.

      Parameters

      Returns void

      To remove the gizmo, call InteractiveGizmo.Destroy.

    • Sets the state of the specified gizmoClasses.

      Parameters

      • gizmoClasses: Type[]
      • isEnabled: boolean

      Returns void

    • Parameters

      Returns void

    onGizmoDraw: Event<[]>

    Triggered when the gizmos begin to draw.

    Use this event to perform custom Gizmo drawing outside of methods decorated with the `` attribute.