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 full)

Constructors

Accessors

  • get innerRadius(): number
  • The inner radius (tube radius) of the disc.

    Returns number

  • set innerRadius(value): void
  • Parameters

    • value: number

    Returns void

  • get outerRadius(): number
  • The outer radius of the disc.

    Returns number

  • set outerRadius(value): void
  • Parameters

    • value: number

    Returns void

Methods

  • 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