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
|
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
Declaration
protected: UStaticMeshComponent * Thumb
Field Value
| Type |
Description |
| UStaticMeshComponent * |
|
|
Improve this Doc
View Source
TickMarks
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
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
|
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
|
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
|
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
GetInitialValue()
Declaration
public: float GetInitialValue() const
Returns
|
Improve this Doc
View Source
GetMoveTextWithThumb()
Declaration
public: bool GetMoveTextWithThumb() const
Returns
|
Improve this Doc
View Source
GetNumTickMarks()
Declaration
public: int GetNumTickMarks() const
Returns
|
Improve this Doc
View Source
GetReleaseSound()
Declaration
public: USoundCue * GetReleaseSound() const
Returns
| Type |
Description |
| USoundCue * |
|
|
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
|
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
|
Improve this Doc
View Source
GetTrackLength()
Declaration
public: float GetTrackLength() const
Returns
|
Improve this Doc
View Source
GetValueTextDecimalPlaces()
Declaration
public: int GetValueTextDecimalPlaces() const
Returns
|
Improve this Doc
View Source
OnBeginGrab(UUxtPinchSliderComponent *Slider, UUxtPointerComponent *Pointer)
Declaration
protected: virtual void OnBeginGrab(UUxtPinchSliderComponent *Slider, UUxtPointerComponent *Pointer)
Parameters
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
OnUpdateState(UUxtPinchSliderComponent *Slider, EUxtSliderState NewState)
Declaration
protected: virtual void OnUpdateState(UUxtPinchSliderComponent *Slider, EUxtSliderState NewState)
Parameters
|
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
|
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
SetInitialValue(float NewInitialValue)
Declaration
public: void SetInitialValue(float NewInitialValue)
Parameters
| Type |
Name |
Description |
| float |
NewInitialValue |
|
|
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
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
SetValueTextDecimalPlaces(int NewValueTextDecimalPlaces)
Declaration
public: void SetValueTextDecimalPlaces(int NewValueTextDecimalPlaces)
Parameters
| Type |
Name |
Description |
| int |
NewValueTextDecimalPlaces |
|