日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class SliderEventData

    Inheritance
    Object
    SliderEventData
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class SliderEventData

    Constructors

    SliderEventData(Single, Single, IMixedRealityPointer, PinchSlider)

    Declaration
    public SliderEventData(float o, float n, IMixedRealityPointer pointer, PinchSlider slider)
    Parameters
    Type Name Description
    Single o
    Single n
    IMixedRealityPointer pointer
    PinchSlider slider

    Properties

    NewValue

    The current value of the slider

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

    OldValue

    The previous value of the slider

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

    Pointer

    The currently active pointer manipulating / hovering the slider, or null if no pointer is manipulating the slider. Note: OnSliderUpdated is called with .Pointer == null OnStart, so always check if this field is null before using!

    Declaration
    public IMixedRealityPointer Pointer { get; set; }
    Property Value
    Type Description
    IMixedRealityPointer

    Slider

    The slider that triggered this event

    Declaration
    public PinchSlider Slider { get; }
    Property Value
    Type Description
    PinchSlider
    Back to top Generated by DocFX