Show / Hide Table of Contents

    Class PinchSlider

    A slider that can be moved by grabbing / pinching a slider thumb

    Inheritance
    Object
    PinchSlider
    Implements
    IMixedRealityPointerHandler
    IMixedRealityFocusHandler
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class PinchSlider : MonoBehaviour, IMixedRealityPointerHandler, IMixedRealityFocusHandler

    Fields

    OnHoverEntered

    Declaration
    public SliderEvent OnHoverEntered
    Field Value
    Type Description
    SliderEvent

    OnHoverExited

    Declaration
    public SliderEvent OnHoverExited
    Field Value
    Type Description
    SliderEvent

    OnInteractionEnded

    Declaration
    public SliderEvent OnInteractionEnded
    Field Value
    Type Description
    SliderEvent

    OnInteractionStarted

    Declaration
    public SliderEvent OnInteractionStarted
    Field Value
    Type Description
    SliderEvent

    OnValueUpdated

    Declaration
    public SliderEvent OnValueUpdated
    Field Value
    Type Description
    SliderEvent

    Properties

    SliderEndDistance

    Declaration
    public float SliderEndDistance { get; set; }
    Property Value
    Type Description
    Single

    SliderEndPosition

    Gets the end position of the slider, in world space, or zero if invalid. Sets the end position of the slider, in world space, projected to the slider's axis.

    Declaration
    public Vector3 SliderEndPosition { get; set; }
    Property Value
    Type Description
    Vector3

    SliderStartDistance

    Declaration
    public float SliderStartDistance { get; set; }
    Property Value
    Type Description
    Single

    SliderStartPosition

    Gets the start position of the slider, in world space, or zero if invalid. Sets the start position of the slider, in world space, projected to the slider's axis.

    Declaration
    public Vector3 SliderStartPosition { get; set; }
    Property Value
    Type Description
    Vector3

    SliderTrackDirection

    Returns the vector from the slider start to end positions

    Declaration
    public Vector3 SliderTrackDirection { get; }
    Property Value
    Type Description
    Vector3

    SliderValue

    Declaration
    public float SliderValue { get; set; }
    Property Value
    Type Description
    Single

    ThumbRoot

    Declaration
    public GameObject ThumbRoot { get; set; }
    Property Value
    Type Description
    GameObject

    Methods

    OnFocusEnter(FocusEventData)

    Declaration
    public void OnFocusEnter(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData

    OnFocusExit(FocusEventData)

    Declaration
    public void OnFocusExit(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData

    OnPointerClicked(MixedRealityPointerEventData)

    Declaration
    public void OnPointerClicked(MixedRealityPointerEventData eventData)
    Parameters
    Type Name Description
    MixedRealityPointerEventData eventData

    OnPointerDown(MixedRealityPointerEventData)

    Declaration
    public void OnPointerDown(MixedRealityPointerEventData eventData)
    Parameters
    Type Name Description
    MixedRealityPointerEventData eventData

    OnPointerDragged(MixedRealityPointerEventData)

    Declaration
    public void OnPointerDragged(MixedRealityPointerEventData eventData)
    Parameters
    Type Name Description
    MixedRealityPointerEventData eventData

    OnPointerUp(MixedRealityPointerEventData)

    Declaration
    public void OnPointerUp(MixedRealityPointerEventData eventData)
    Parameters
    Type Name Description
    MixedRealityPointerEventData eventData

    Start()

    Declaration
    public void Start()

    Implements

    IMixedRealityPointerHandler
    IMixedRealityFocusHandler
    Back to top Generated by DocFX