RSX Code Reference
    Preparing search index...

    Class InteractiveGizmoColliderTorus

    Interactive gizmo collider using a torus shape for hit-testing. Optionally supports a cutoff plane that restricts the interactable arc to 180 degrees.

    Hierarchy (View Summary)

    Index
    • get innerRadius(): number

      The inner radius (tube radius) of the disc.

      Returns number

    • set innerRadius(value: number): void

      Parameters

      • value: number

      Returns void

    • get outerRadius(): number

      The outer radius of the disc.

      Returns number

    • set outerRadius(value: number): void

      Parameters

      • value: number

      Returns void

    • Enables or disables a cut-off plane that restricts interaction to a 180 degree arc.

      Parameters

      • angle: rsx.Degree

        Angle at which to start the cut-off.

      • enabled: boolean

        True to enable the cutoff plane, false otherwise.

      Returns void