Constructs a new line slider.
Parent handle that is responsible for the slider lifetime.
Direction of the line.
Length of the slider.
Lower-bits of the Layer that allows filtering of which sliders are interacted with from a specific camera.
OptionalfixedScale: booleanIf true the interactive gizmo will always try to maintain the same visible area in the viewport regardless of distance from camera.
Constructs a new line slider.
Direction of the line.
The type of the collider at the end of the line. If any.
The scale of the pointer at the end of the line. If any.
Length of the slider, Default: 1.0.
Radius of the slider, Default: 0.08.
The Layer that allows filtering of which sliders are interacted with from a specific camera.
OptionalfixedScale: booleanIf 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.
Returns a delta value that is the result of dragging/sliding the pointer along the line. This changes every frame and will be zero unless the slider is active.
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.
Determines if the slider is being drawn as wireframe mesh instead of solid.
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.
Return a drag delta but compensating for screen wrapping. Meaning it is a delta as if the mouse were moving in an infinite screen.
Interactive gizmo that returns a delta value as you drag the pointer along a line. For intersection purposes the line is internally by a capsule and a sphere at its cap (assuming this will be used for arrow-like gizmos).