Class RadialSlider
- Namespace
- Fallencake.UI
- Assembly
- Fallencake.UI.dll
Radial slider implementation that maps value to 360° arc with configurable origin and clockwise/counterclockwise fill direction.
public class RadialSlider : Slider, IMultiSelectable, ISlider
- Inheritance
-
objectObjectComponentBehaviourMonoBehaviourUIBehaviourSelectableRadialSlider
- Implements
- Inherited Members
Properties
CurrentAngle
Angle derived from normalized value (0..360 degrees).
public float CurrentAngle { get; }
Property Value
- float
CurrentAngleRaw
Angle derived from raw value without normalization.
public float CurrentAngleRaw { get; }
Property Value
- float
Direction
Fill direction around the circle.
public RadialSlider.FillDirection Direction { get; set; }
Property Value
Methods
GraphicUpdateComplete()
See ICanvasElement.GraphicUpdateComplete
public virtual void GraphicUpdateComplete()
HandleSliderMouseInput(PointerEventData, bool)
protected override void HandleSliderMouseInput(PointerEventData eventData, bool isValueClamped)
Parameters
eventDataPointerEventDataisValueClampedbool
LayoutComplete()
See ICanvasElement.LayoutComplete
public virtual void LayoutComplete()
Rebuild(CanvasUpdate)
Rebuild the element for the given stage.
public virtual void Rebuild(CanvasUpdate executing)
Parameters
executingCanvasUpdateThe current CanvasUpdate stage being rebuild.
SetHandlePosition()
protected override void SetHandlePosition()
SetOrigin()
protected override void SetOrigin()