Show / Hide Table of Contents

    Class AUxtPinchSliderActor

    A simple HoloLens 2 style slider that can be moved by grabbing / pinching a slider thumb. The class is extensible to support additional functionality.

    Inheritance
    System::Object
    AActor
    AUxtPinchSliderActor
    Namespace:
    Assembly: .dll
    Syntax
    public: class AUxtPinchSliderActor

    Constructors

    | Improve this Doc View Source

    AUxtPinchSliderActor()

    Declaration
    public: AUxtPinchSliderActor()

    Fields

    | Improve this Doc View Source

    Audio

    The audio cues, configure using the 'Slider Sounds' properties.

    Declaration
    protected: class UAudioComponent * Audio
    Field Value
    Type Description
    class UAudioComponent *
    | Improve this Doc View Source

    PinchSlider

    The slider functionality.

    Declaration
    protected: UUxtPinchSliderComponent * PinchSlider
    Field Value
    Type Description
    UUxtPinchSliderComponent *
    | Improve this Doc View Source

    ScaleTimeline

    The timeline for scaling the thumb, configuring using the 'Slider Thumb Scaling' properties.

    Declaration
    protected: UTimelineComponent * ScaleTimeline
    Field Value
    Type Description
    UTimelineComponent *
    | Improve this Doc View Source

    TextRoot

    Root text component to allow text to move as a block.

    Declaration
    protected: USceneComponent * TextRoot
    Field Value
    Type Description
    USceneComponent *
    | Improve this Doc View Source

    Thumb

    The thumb visuals.

    Declaration
    protected: UStaticMeshComponent * Thumb
    Field Value
    Type Description
    UStaticMeshComponent *
    | Improve this Doc View Source

    TickMarks

    The tick mark visuals.

    Declaration
    protected: class UInstancedStaticMeshComponent * TickMarks
    Field Value
    Type Description
    class UInstancedStaticMeshComponent *
    | Improve this Doc View Source

    TitleText

    The title text, configure using the 'Title' property.

    Declaration
    protected: class UTextRenderComponent * TitleText
    Field Value
    Type Description
    class UTextRenderComponent *
    | Improve this Doc View Source

    Track

    The track visuals.

    Declaration
    protected: UStaticMeshComponent * Track
    Field Value
    Type Description
    UStaticMeshComponent *
    | Improve this Doc View Source

    ValueText

    The value text. TODO configure

    Declaration
    protected: class UTextRenderComponent * ValueText
    Field Value
    Type Description
    class UTextRenderComponent *

    Methods

    | Improve this Doc View Source

    GetAlignTextWithZ()

    Declaration
    public: bool GetAlignTextWithZ() const
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    GetDefaultThumbColor()

    Declaration
    public: FLinearColor GetDefaultThumbColor() const
    Returns
    Type Description
    FLinearColor
    | Improve this Doc View Source

    GetDefaultThumbScale()

    Declaration
    public: float GetDefaultThumbScale() const
    Returns
    Type Description
    float
    | Improve this Doc View Source

    GetDisabledThumbColor()

    Declaration
    public: FLinearColor GetDisabledThumbColor() const
    Returns
    Type Description
    FLinearColor
    | Improve this Doc View Source

    GetFocusedThumbColor()

    Declaration
    public: FLinearColor GetFocusedThumbColor() const
    Returns
    Type Description
    FLinearColor
    | Improve this Doc View Source

    GetFocusedThumbScale()

    Declaration
    public: float GetFocusedThumbScale() const
    Returns
    Type Description
    float
    | Improve this Doc View Source

    GetGrabbedThumbColor()

    Declaration
    public: FLinearColor GetGrabbedThumbColor() const
    Returns
    Type Description
    FLinearColor
    | Improve this Doc View Source

    GetGrabSound()

    Declaration
    public: USoundCue * GetGrabSound() const
    Returns
    Type Description
    USoundCue *
    | Improve this Doc View Source

    GetMaxValue()

    Declaration
    public: float GetMaxValue() const
    Returns
    Type Description
    float
    | Improve this Doc View Source

    GetMinValue()

    Declaration
    public: float GetMinValue() const
    Returns
    Type Description
    float
    | Improve this Doc View Source

    GetMoveTextWithThumb()

    Declaration
    public: bool GetMoveTextWithThumb() const
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    GetNumTickMarks()

    Declaration
    public: int GetNumTickMarks() const
    Returns
    Type Description
    int
    | Improve this Doc View Source

    GetReleaseSound()

    Declaration
    public: USoundCue * GetReleaseSound() const
    Returns
    Type Description
    USoundCue *
    | Improve this Doc View Source

    GetStepWithTickMarks()

    Declaration
    public: bool GetStepWithTickMarks() const
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    GetThumbScaleCurve()

    Declaration
    public: UCurveFloat * GetThumbScaleCurve() const
    Returns
    Type Description
    UCurveFloat *
    | Improve this Doc View Source

    GetTickMarkScale()

    Declaration
    public: FVector GetTickMarkScale() const
    Returns
    Type Description
    FVector
    | Improve this Doc View Source

    GetTickSound()

    Declaration
    public: USoundCue * GetTickSound() const
    Returns
    Type Description
    USoundCue *
    | Improve this Doc View Source

    GetTitle()

    Declaration
    public: FText GetTitle() const
    Returns
    Type Description
    FText
    | Improve this Doc View Source

    GetTrackLength()

    Declaration
    public: float GetTrackLength() const
    Returns
    Type Description
    float
    | Improve this Doc View Source

    GetValue()

    Declaration
    public: float GetValue() const
    Returns
    Type Description
    float
    | Improve this Doc View Source

    GetValueTextDecimalPlaces()

    Declaration
    public: int GetValueTextDecimalPlaces() const
    Returns
    Type Description
    int
    | Improve this Doc View Source

    OnBeginGrab(UUxtPinchSliderComponent *Slider, UUxtPointerComponent *Pointer)

    Declaration
    protected: virtual void OnBeginGrab(UUxtPinchSliderComponent *Slider, UUxtPointerComponent *Pointer)
    Parameters
    Type Name Description
    UUxtPinchSliderComponent * Slider
    UUxtPointerComponent * Pointer
    | Improve this Doc View Source

    OnConstruction(const FTransform &Transform)

    Declaration
    protected: virtual void OnConstruction(const FTransform &Transform) override
    Parameters
    Type Name Description
    const FTransform & Transform
    | Improve this Doc View Source

    OnEndGrab(UUxtPinchSliderComponent *Slider, UUxtPointerComponent *Pointer)

    Declaration
    protected: virtual void OnEndGrab(UUxtPinchSliderComponent *Slider, UUxtPointerComponent *Pointer)
    Parameters
    Type Name Description
    UUxtPinchSliderComponent * Slider
    UUxtPointerComponent * Pointer
    | Improve this Doc View Source

    OnSliderUpdateValue(float NewValue)

    Event raised when the slider's value changes.

    Declaration
    public: void OnSliderUpdateValue(float NewValue)
    Parameters
    Type Name Description
    float NewValue
    | Improve this Doc View Source

    OnUpdateState(UUxtPinchSliderComponent *Slider, EUxtSliderState NewState)

    Declaration
    protected: virtual void OnUpdateState(UUxtPinchSliderComponent *Slider, EUxtSliderState NewState)
    Parameters
    Type Name Description
    UUxtPinchSliderComponent * Slider
    EUxtSliderState NewState
    | Improve this Doc View Source

    OnUpdateTimeline(float Scale)

    Declaration
    protected: void OnUpdateTimeline(float Scale)
    Parameters
    Type Name Description
    float Scale
    | Improve this Doc View Source

    OnUpdateValue(UUxtPinchSliderComponent *Slider, float NewValue)

    Declaration
    protected: virtual void OnUpdateValue(UUxtPinchSliderComponent *Slider, float NewValue)
    Parameters
    Type Name Description
    UUxtPinchSliderComponent * Slider
    float NewValue
    | Improve this Doc View Source

    SetAlignTextWithZ(bool bNewAlignTextWithZ)

    Declaration
    public: void SetAlignTextWithZ(bool bNewAlignTextWithZ)
    Parameters
    Type Name Description
    bool bNewAlignTextWithZ
    | Improve this Doc View Source

    SetDefaultThumbColor(FLinearColor NewDefaultThumbColor)

    Declaration
    public: void SetDefaultThumbColor(FLinearColor NewDefaultThumbColor)
    Parameters
    Type Name Description
    FLinearColor NewDefaultThumbColor
    | Improve this Doc View Source

    SetDefaultThumbScale(float NewDefaultThumbScale)

    Declaration
    public: void SetDefaultThumbScale(float NewDefaultThumbScale)
    Parameters
    Type Name Description
    float NewDefaultThumbScale
    | Improve this Doc View Source

    SetDisabledThumbColor(FLinearColor NewDisabledThumbColor)

    Declaration
    public: void SetDisabledThumbColor(FLinearColor NewDisabledThumbColor)
    Parameters
    Type Name Description
    FLinearColor NewDisabledThumbColor
    | Improve this Doc View Source

    SetFocusedThumbColor(FLinearColor NewFocusedThumbColor)

    Declaration
    public: void SetFocusedThumbColor(FLinearColor NewFocusedThumbColor)
    Parameters
    Type Name Description
    FLinearColor NewFocusedThumbColor
    | Improve this Doc View Source

    SetFocusedThumbScale(float NewFocusedThumbScale)

    Declaration
    public: void SetFocusedThumbScale(float NewFocusedThumbScale)
    Parameters
    Type Name Description
    float NewFocusedThumbScale
    | Improve this Doc View Source

    SetGrabbedThumbColor(FLinearColor NewGrabbedThumbColor)

    Declaration
    public: void SetGrabbedThumbColor(FLinearColor NewGrabbedThumbColor)
    Parameters
    Type Name Description
    FLinearColor NewGrabbedThumbColor
    | Improve this Doc View Source

    SetGrabSound(USoundCue *NewGrabSound)

    Declaration
    public: void SetGrabSound(USoundCue *NewGrabSound)
    Parameters
    Type Name Description
    USoundCue * NewGrabSound
    | Improve this Doc View Source

    SetMaxValue(float NewMaxValue)

    Declaration
    public: void SetMaxValue(float NewMaxValue)
    Parameters
    Type Name Description
    float NewMaxValue
    | Improve this Doc View Source

    SetMinValue(float NewMinValue)

    Declaration
    public: void SetMinValue(float NewMinValue)
    Parameters
    Type Name Description
    float NewMinValue
    | Improve this Doc View Source

    SetMoveTextWithThumb(bool bNewMoveWithThumb)

    Declaration
    public: void SetMoveTextWithThumb(bool bNewMoveWithThumb)
    Parameters
    Type Name Description
    bool bNewMoveWithThumb
    | Improve this Doc View Source

    SetNumTickMarks(int NewNumTickMarks)

    Declaration
    public: void SetNumTickMarks(int NewNumTickMarks)
    Parameters
    Type Name Description
    int NewNumTickMarks
    | Improve this Doc View Source

    SetReleaseSound(USoundCue *NewReleaseSound)

    Declaration
    public: void SetReleaseSound(USoundCue *NewReleaseSound)
    Parameters
    Type Name Description
    USoundCue * NewReleaseSound
    | Improve this Doc View Source

    SetStepWithTickMarks(bool bNewStepWithTickMarks)

    Declaration
    public: void SetStepWithTickMarks(bool bNewStepWithTickMarks)
    Parameters
    Type Name Description
    bool bNewStepWithTickMarks
    | Improve this Doc View Source

    SetThumbScaleCurve(UCurveFloat *NewThumbScaleCurve)

    Declaration
    public: void SetThumbScaleCurve(UCurveFloat *NewThumbScaleCurve)
    Parameters
    Type Name Description
    UCurveFloat * NewThumbScaleCurve
    | Improve this Doc View Source

    SetTickMarkScale(FVector NewTickMarkScale)

    Declaration
    public: void SetTickMarkScale(FVector NewTickMarkScale)
    Parameters
    Type Name Description
    FVector NewTickMarkScale
    | Improve this Doc View Source

    SetTickSound(USoundCue *NewTickSound)

    Declaration
    public: void SetTickSound(USoundCue *NewTickSound)
    Parameters
    Type Name Description
    USoundCue * NewTickSound
    | Improve this Doc View Source

    SetTitle(FText NewTitle)

    Declaration
    public: void SetTitle(FText NewTitle)
    Parameters
    Type Name Description
    FText NewTitle
    | Improve this Doc View Source

    SetTrackLength(float NewTrackLength)

    Declaration
    public: void SetTrackLength(float NewTrackLength)
    Parameters
    Type Name Description
    float NewTrackLength
    | Improve this Doc View Source

    SetValue(float NewValue)

    Declaration
    public: void SetValue(float NewValue)
    Parameters
    Type Name Description
    float NewValue
    | Improve this Doc View Source

    SetValueTextDecimalPlaces(int NewValueTextDecimalPlaces)

    Declaration
    public: void SetValueTextDecimalPlaces(int NewValueTextDecimalPlaces)
    Parameters
    Type Name Description
    int NewValueTextDecimalPlaces
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX