SliderVisuals Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A visuals script to provide a visual layer on top of a Slider component.
[UnityEngine.AddComponentMenu("MRTK/UX/Slider Visuals")]
[UnityEngine.ExecuteAlways]
[UnityEngine.RequireComponent(typeof(MixedReality.Toolkit.UX.Slider))]
public class SliderVisuals : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("MRTK/UX/Slider Visuals")>]
[<UnityEngine.ExecuteAlways>]
[<UnityEngine.RequireComponent(typeof(MixedReality.Toolkit.UX.Slider))>]
type SliderVisuals = class
inherit MonoBehaviour
Public Class SliderVisuals
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourSliderVisuals
- Attributes
-
UnityEngine.AddComponentMenuAttribute UnityEngine.ExecuteAlwaysAttribute UnityEngine.RequireComponentAttribute
Constructors
| Name | Description |
|---|---|
| SliderVisuals() | |
Properties
| Name | Description |
|---|---|
| FillVisual |
The transform of the area representing the 'progress' of the slider. |
| Handle |
The transform of the handle. |
| SliderState |
Reference to the Slider component. |
| TrackArea |
The transform of the overall slider track area. |