Class UUxtPinchSliderComponent
A slider that can be moved by grabbing / pinching a slider thumb.
The thumb visuals must be set using the 'Visuals' property.
Inheritance
System::Object
USceneComponent
UUxtPinchSliderComponent
Namespace:
Assembly: .dll
Syntax
public: class UUxtPinchSliderComponent : public xtUIElementComponent, public xtGrabTarget, public xtGrabHandler, public xtFarTarget, public xtFarHandler
Fields
|
Improve this Doc
View Source
OnBeginFocus
Event raised when a pointer starts focusing the slider.
Declaration
public: FUxtPinchSliderBeginFocusDelegate OnBeginFocus
Field Value
Type |
Description |
FUxtPinchSliderBeginFocusDelegate |
|
|
Improve this Doc
View Source
OnBeginGrab
Event raised when slider is grabbed.
Declaration
public: FUxtPinchSliderBeginGrabDelegate OnBeginGrab
Field Value
Type |
Description |
FUxtPinchSliderBeginGrabDelegate |
|
|
Improve this Doc
View Source
OnDisable
Event raised when slider is disabled.
Declaration
public: FUxtPinchSliderDisableDelegate OnDisable
Field Value
Type |
Description |
FUxtPinchSliderDisableDelegate |
|
|
Improve this Doc
View Source
OnEnable
Event raised when slider is enabled.
Declaration
public: FUxtPinchSliderEnableDelegate OnEnable
Field Value
Type |
Description |
FUxtPinchSliderEnableDelegate |
|
|
Improve this Doc
View Source
OnEndFocus
Event raised when a pointer stops focusing the slider.
Declaration
public: FUxtPinchSliderEndFocusDelegate OnEndFocus
Field Value
Type |
Description |
FUxtPinchSliderEndFocusDelegate |
|
|
Improve this Doc
View Source
OnEndGrab
Event raised when slider is released.
Declaration
public: FUxtPinchSliderEndGrabDelegate OnEndGrab
Field Value
Type |
Description |
FUxtPinchSliderEndGrabDelegate |
|
|
Improve this Doc
View Source
OnUpdateFocus
Event raised when a focusing pointer updates.
Declaration
public: FUxtPinchSliderUpdateFocusDelegate OnUpdateFocus
Field Value
Type |
Description |
FUxtPinchSliderUpdateFocusDelegate |
|
|
Improve this Doc
View Source
OnUpdateState
Event raised when slider changes state.
Declaration
public: FUxtPinchSliderUpdateStateDelegate OnUpdateState
Field Value
Type |
Description |
FUxtPinchSliderUpdateStateDelegate |
|
|
Improve this Doc
View Source
OnUpdateValue
Event raised when slider's value changes.
Declaration
public: FUxtPinchSliderUpdateValueDelegate OnUpdateValue
Field Value
Type |
Description |
FUxtPinchSliderUpdateValueDelegate |
|
Methods
|
Improve this Doc
View Source
BeginPlay()
Declaration
protected: virtual void BeginPlay() override
Overrides
|
Improve this Doc
View Source
CanHandleFar_Implementation(UPrimitiveComponent *Primitive)
Declaration
protected: virtual bool CanHandleFar_Implementation(UPrimitiveComponent *Primitive) const override
Parameters
Type |
Name |
Description |
UPrimitiveComponent * |
Primitive |
|
Returns
|
Improve this Doc
View Source
CanHandleGrab_Implementation(UPrimitiveComponent *Primitive)
Declaration
protected: virtual bool CanHandleGrab_Implementation(UPrimitiveComponent *Primitive) const override
Parameters
Type |
Name |
Description |
UPrimitiveComponent * |
Primitive |
|
Returns
|
Improve this Doc
View Source
GetCollisionProfile()
Declaration
public: FName GetCollisionProfile() const
Returns
|
Improve this Doc
View Source
GetNumSteps()
Declaration
public: int GetNumSteps() const
Returns
|
Improve this Doc
View Source
GetSmoothing()
Declaration
public: float GetSmoothing() const
Returns
|
Improve this Doc
View Source
GetState()
Get the current state of the slider.
Declaration
public: EUxtSliderState GetState() const
Returns
Type |
Description |
EUxtSliderState |
|
|
Improve this Doc
View Source
GetTrackLength()
Declaration
public: float GetTrackLength() const
Returns
|
Improve this Doc
View Source
GetUseSteppedMovement()
Declaration
public: bool GetUseSteppedMovement() const
Returns
|
Improve this Doc
View Source
GetValue()
Declaration
public: float GetValue() const
Returns
|
Improve this Doc
View Source
GetValueLowerBound()
Declaration
public: float GetValueLowerBound() const
Returns
|
Improve this Doc
View Source
GetValueUpperBound()
Declaration
public: float GetValueUpperBound() const
Returns
|
Improve this Doc
View Source
GetVisuals()
Get the static mesh representing the thumb visuals.
Declaration
public: UStaticMeshComponent * GetVisuals() const
Returns
Type |
Description |
UStaticMeshComponent * |
|
|
Improve this Doc
View Source
IsFarFocusable_Implementation(const UPrimitiveComponent *Primitive)
Declaration
protected: virtual bool IsFarFocusable_Implementation(const UPrimitiveComponent *Primitive) const override
Parameters
Type |
Name |
Description |
const UPrimitiveComponent * |
Primitive |
|
Returns
|
Improve this Doc
View Source
IsGrabFocusable_Implementation(const UPrimitiveComponent *Primitive)
Declaration
protected: virtual bool IsGrabFocusable_Implementation(const UPrimitiveComponent *Primitive) const override
Parameters
Type |
Name |
Description |
const UPrimitiveComponent * |
Primitive |
|
Returns
|
Improve this Doc
View Source
OnBeginGrab_Implementation(UUxtNearPointerComponent *Pointer)
Declaration
protected: virtual void OnBeginGrab_Implementation(UUxtNearPointerComponent *Pointer) override
Parameters
|
Improve this Doc
View Source
OnEndGrab_Implementation(UUxtNearPointerComponent *Pointer)
Declaration
protected: virtual void OnEndGrab_Implementation(UUxtNearPointerComponent *Pointer) override
Parameters
|
Improve this Doc
View Source
OnEnterFarFocus_Implementation(UUxtFarPointerComponent *Pointer)
Declaration
protected: virtual void OnEnterFarFocus_Implementation(UUxtFarPointerComponent *Pointer) override
Parameters
|
Improve this Doc
View Source
OnEnterGrabFocus_Implementation(UUxtNearPointerComponent *Pointer)
Declaration
protected: virtual void OnEnterGrabFocus_Implementation(UUxtNearPointerComponent *Pointer) override
Parameters
|
Improve this Doc
View Source
OnExitFarFocus_Implementation(UUxtFarPointerComponent *Pointer)
Declaration
protected: virtual void OnExitFarFocus_Implementation(UUxtFarPointerComponent *Pointer) override
Parameters
|
Improve this Doc
View Source
OnExitGrabFocus_Implementation(UUxtNearPointerComponent *Pointer)
Declaration
protected: virtual void OnExitGrabFocus_Implementation(UUxtNearPointerComponent *Pointer) override
Parameters
|
Improve this Doc
View Source
OnFarDragged_Implementation(UUxtFarPointerComponent *Pointer)
Declaration
protected: virtual void OnFarDragged_Implementation(UUxtFarPointerComponent *Pointer) override
Parameters
|
Improve this Doc
View Source
OnFarPressed_Implementation(UUxtFarPointerComponent *Pointer)
Declaration
protected: virtual void OnFarPressed_Implementation(UUxtFarPointerComponent *Pointer) override
Parameters
|
Improve this Doc
View Source
OnFarReleased_Implementation(UUxtFarPointerComponent *Pointer)
Declaration
protected: virtual void OnFarReleased_Implementation(UUxtFarPointerComponent *Pointer) override
Parameters
|
Improve this Doc
View Source
OnUpdatedFarFocus_Implementation(UUxtFarPointerComponent *Pointer)
Declaration
protected: virtual void OnUpdatedFarFocus_Implementation(UUxtFarPointerComponent *Pointer) override
Parameters
|
Improve this Doc
View Source
OnUpdateGrab_Implementation(UUxtNearPointerComponent *Pointer)
Declaration
protected: virtual void OnUpdateGrab_Implementation(UUxtNearPointerComponent *Pointer) override
Parameters
|
Improve this Doc
View Source
OnUpdateGrabFocus_Implementation(UUxtNearPointerComponent *Pointer)
Declaration
protected: virtual void OnUpdateGrabFocus_Implementation(UUxtNearPointerComponent *Pointer) override
Parameters
|
Improve this Doc
View Source
SetCollisionProfile(FName NewCollisionProfile)
Declaration
public: void SetCollisionProfile(FName NewCollisionProfile)
Parameters
Type |
Name |
Description |
FName |
NewCollisionProfile |
|
|
Improve this Doc
View Source
SetEnabled(bool bEnabled)
Set if the slider is enabled.
Declaration
public: void SetEnabled(bool bEnabled)
Parameters
Type |
Name |
Description |
bool |
bEnabled |
|
|
Improve this Doc
View Source
SetNumSteps(int NewNumSteps)
Declaration
public: void SetNumSteps(int NewNumSteps)
Parameters
Type |
Name |
Description |
int |
NewNumSteps |
|
|
Improve this Doc
View Source
SetSmoothing(float NewSmoothing)
Declaration
public: void SetSmoothing(float NewSmoothing)
Parameters
Type |
Name |
Description |
float |
NewSmoothing |
|
|
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
SetUseSteppedMovement(bool bNewUseSteppedMovement)
Declaration
public: void SetUseSteppedMovement(bool bNewUseSteppedMovement)
Parameters
Type |
Name |
Description |
bool |
bNewUseSteppedMovement |
|
|
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
SetValueLowerBound(float NewLowerBound)
Declaration
public: void SetValueLowerBound(float NewLowerBound)
Parameters
Type |
Name |
Description |
float |
NewLowerBound |
|
|
Improve this Doc
View Source
SetValueUpperBound(float NewUpperBound)
Declaration
public: void SetValueUpperBound(float NewUpperBound)
Parameters
Type |
Name |
Description |
float |
NewUpperBound |
|
|
Improve this Doc
View Source
SetVisuals(const FComponentReference &NewVisuals)
Set the thumb visuals using a component reference, this is necessary if the visuals will be serialized.
Declaration
public: void SetVisuals(const FComponentReference &NewVisuals)
Parameters
Type |
Name |
Description |
const FComponentReference & |
NewVisuals |
|
|
Improve this Doc
View Source
SetVisuals(UStaticMeshComponent *NewVisuals)
Set the static mesh representing the thumb visuals.
Declaration
public: void SetVisuals(UStaticMeshComponent *NewVisuals)
Parameters
Type |
Name |
Description |
UStaticMeshComponent * |
NewVisuals |
|