Language
Edit

SliderVisuals Class

Definition

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.MonoBehaviour
SliderVisuals
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.

Applies to