Constructs a new plane slider. The plane is constructed from two direction vectors.
First direction of the plane. The x component of returned delta value will be in this direction. Should be perpendicular to
dir2.
Second direction of the plane. The y component of returned delta value will be in this direction. Should be perpendicular
to dir1.
Determines size of the plane.
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: booleanReturns a delta value that is the result of dragging/sliding the pointer along the plane. Returned movement is in terms of the two directions originally provided when constructing the slider. 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.
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 plane. For intersection purposes the line is internally by a quadrilateral.