Constructs a new disc slider.
Parent gizmo that is responsible for the slider lifetime.
Normal that determines the orientation of the disc. Default: 1.0
Radius of the disc. Default: 0.1
Inner radius of the disc, relative to radius.
The Layer that allows filtering of which sliders are interacted with from a specific camera.
OptionalfixedScale: boolean
If true the interactive gizmo will always try to maintain the same visible area in the viewport regardless of distance from camera.
OptionalisInternalConstructor: booleanThe colliders that are used for intersection testing.
Determines if custom drawing is enabled. This allows the user to draw custom gizmos for the slider in the Draw method of
the parent InteractiveGizmo. If custom drawing is enabled, the built in visual representation for the slider will
not be drawn.
Whether this slider only activates on drag, allowing click events to pass through to other systems.
Enables or disables the slider, making it interactable or not.
Returns if fixed scale is enabled. If enabled the interactive gizmo will always try to maintain the same visible area in the viewport regardless of distance from camera.
The selection priority of this slider. Higher values beat lower when multiple sliders are under the cursor.
Sets the world rotation of the slider.
Returns the state the slider is currently in.
Interactive gizmo that returns a delta value as you drag the pointer along a disc. For intersection purposes the disc is internally represented by a torus.