Show / Hide Table of Contents

    Class UUxtPinchSliderComponent

    Component that implements a thumb slider UI and logic.

    Inheritance
    System::Object
    USceneComponent
    UUxtPinchSliderComponent
    Inherited Members
    IUxtFarTarget::IsFarFocusable(const UPrimitiveComponent *Primitive)
    IUxtGrabTarget::IsGrabFocusable(const UPrimitiveComponent *Primitive)
    IUxtGrabTarget::OnBeginGrab(UUxtNearPointerComponent *Pointer)
    IUxtGrabTarget::OnEndGrab(UUxtNearPointerComponent *Pointer)
    IUxtFarTarget::OnEnterFarFocus(UUxtFarPointerComponent *Pointer)
    IUxtGrabTarget::OnEnterGrabFocus(UUxtNearPointerComponent *Pointer)
    IUxtFarTarget::OnExitFarFocus(UUxtFarPointerComponent *Pointer)
    IUxtGrabTarget::OnExitGrabFocus(UUxtNearPointerComponent *Pointer)
    IUxtFarTarget::OnFarDragged(UUxtFarPointerComponent *Pointer)
    IUxtFarTarget::OnFarPressed(UUxtFarPointerComponent *Pointer)
    IUxtFarTarget::OnFarReleased(UUxtFarPointerComponent *Pointer)
    IUxtFarTarget::OnUpdatedFarFocus(UUxtFarPointerComponent *Pointer)
    IUxtGrabTarget::OnUpdateGrab(UUxtNearPointerComponent *Pointer)
    IUxtGrabTarget::OnUpdateGrabFocus(UUxtNearPointerComponent *Pointer)
    Namespace:
    Assembly: .dll
    Syntax
    public: class UUxtPinchSliderComponent : public xtGrabTarget, public xtFarTarget

    Constructors

    | Improve this Doc View Source

    UUxtPinchSliderComponent()

    Declaration
    public: UUxtPinchSliderComponent()

    Fields

    | Improve this Doc View Source

    OnBeginFocus

    Event raised when slider enters focus

    Declaration
    public: FUxtPinchSliderBeginFocusDelegate OnBeginFocus
    Field Value
    Type Description
    FUxtPinchSliderBeginFocusDelegate
    | Improve this Doc View Source

    OnBeginInteraction

    Event raised when slider starts interaction.

    Declaration
    public: FUxtPinchSliderBeginInteractionDelegate OnBeginInteraction
    Field Value
    Type Description
    FUxtPinchSliderBeginInteractionDelegate
    | Improve this Doc View Source

    OnEndFocus

    Event raised when slider exits focus

    Declaration
    public: FUxtPinchSliderEndFocusDelegate OnEndFocus
    Field Value
    Type Description
    FUxtPinchSliderEndFocusDelegate
    | Improve this Doc View Source

    OnEndInteraction

    Event raised when slider ends interaction.

    Declaration
    public: FUxtPinchSliderEndInteractionDelegate OnEndInteraction
    Field Value
    Type Description
    FUxtPinchSliderEndInteractionDelegate
    | Improve this Doc View Source

    OnSliderDisabled

    Event raised when slider changes state

    Declaration
    public: FUxtPinchSliderDisabledDelegate OnSliderDisabled
    Field Value
    Type Description
    FUxtPinchSliderDisabledDelegate
    | Improve this Doc View Source

    OnSliderEnabled

    Event raised when slider changes state

    Declaration
    public: FUxtPinchSliderEnabledDelegate OnSliderEnabled
    Field Value
    Type Description
    FUxtPinchSliderEnabledDelegate
    | 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 value changes.

    Declaration
    public: FUxtPinchSliderUpdateValueDelegate OnUpdateValue
    Field Value
    Type Description
    FUxtPinchSliderUpdateValueDelegate

    Methods

    | Improve this Doc View Source

    BeginPlay()

    Declaration
    protected: virtual void BeginPlay() override
    | Improve this Doc View Source

    GetCurrentState()

    Get the current state of the slider

    Declaration
    public: EUxtSliderState GetCurrentState() const
    Returns
    Type Description
    EUxtSliderState
    | Improve this Doc View Source

    GetNumTickMarks()

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

    GetSliderEndDistance()

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

    GetSliderStartDistance()

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

    GetSliderValue()

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

    GetSmoothing()

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

    GetThumbVisuals()

    Get Static Mesh Component used for the thumb visuals

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

    GetTickMarkScale()

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

    GetTickMarkVisuals()

    Get Instanced Static Mesh Component used for the tick marks

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

    GetTrackVisuals()

    Get Static Mesh Component used for the track visuals

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

    IsEnabled()

    Get the enabled state of the slider

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

    IsFarFocusable_Implementation(const UPrimitiveComponent *Primitive)

    Declaration
    protected: virtual bool IsFarFocusable_Implementation(const UPrimitiveComponent *Primitive) override
    Parameters
    Type Name Description
    const UPrimitiveComponent * Primitive
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    IsFocused()

    Get the current focus state of the slider

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

    IsGrabbed()

    Get the current grabbed state of the slider

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

    IsGrabFocusable_Implementation(const UPrimitiveComponent *Primitive)

    Declaration
    protected: virtual bool IsGrabFocusable_Implementation(const UPrimitiveComponent *Primitive) override
    Parameters
    Type Name Description
    const UPrimitiveComponent * Primitive
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    OnBeginGrab_Implementation(UUxtNearPointerComponent *Pointer)

    Declaration
    protected: virtual void OnBeginGrab_Implementation(UUxtNearPointerComponent *Pointer) override
    Parameters
    Type Name Description
    UUxtNearPointerComponent * Pointer
    | Improve this Doc View Source

    OnEndGrab_Implementation(UUxtNearPointerComponent *Pointer)

    Declaration
    protected: virtual void OnEndGrab_Implementation(UUxtNearPointerComponent *Pointer) override
    Parameters
    Type Name Description
    UUxtNearPointerComponent * Pointer
    | Improve this Doc View Source

    OnEnterFarFocus_Implementation(UUxtFarPointerComponent *Pointer)

    Declaration
    protected: virtual void OnEnterFarFocus_Implementation(UUxtFarPointerComponent *Pointer) override
    Parameters
    Type Name Description
    UUxtFarPointerComponent * Pointer
    | Improve this Doc View Source

    OnEnterGrabFocus_Implementation(UUxtNearPointerComponent *Pointer)

    Declaration
    protected: virtual void OnEnterGrabFocus_Implementation(UUxtNearPointerComponent *Pointer) override
    Parameters
    Type Name Description
    UUxtNearPointerComponent * Pointer
    | Improve this Doc View Source

    OnExitFarFocus_Implementation(UUxtFarPointerComponent *Pointer)

    Declaration
    protected: virtual void OnExitFarFocus_Implementation(UUxtFarPointerComponent *Pointer) override
    Parameters
    Type Name Description
    UUxtFarPointerComponent * Pointer
    | Improve this Doc View Source

    OnExitGrabFocus_Implementation(UUxtNearPointerComponent *Pointer)

    Declaration
    protected: virtual void OnExitGrabFocus_Implementation(UUxtNearPointerComponent *Pointer) override
    Parameters
    Type Name Description
    UUxtNearPointerComponent * Pointer
    | Improve this Doc View Source

    OnFarDragged_Implementation(UUxtFarPointerComponent *Pointer)

    Declaration
    protected: virtual void OnFarDragged_Implementation(UUxtFarPointerComponent *Pointer) override
    Parameters
    Type Name Description
    UUxtFarPointerComponent * Pointer
    | Improve this Doc View Source

    OnFarPressed_Implementation(UUxtFarPointerComponent *Pointer)

    Declaration
    protected: virtual void OnFarPressed_Implementation(UUxtFarPointerComponent *Pointer) override
    Parameters
    Type Name Description
    UUxtFarPointerComponent * Pointer
    | Improve this Doc View Source

    OnFarReleased_Implementation(UUxtFarPointerComponent *Pointer)

    Declaration
    protected: virtual void OnFarReleased_Implementation(UUxtFarPointerComponent *Pointer) override
    Parameters
    Type Name Description
    UUxtFarPointerComponent * Pointer
    | Improve this Doc View Source

    OnUpdateGrab_Implementation(UUxtNearPointerComponent *Pointer)

    Declaration
    protected: virtual void OnUpdateGrab_Implementation(UUxtNearPointerComponent *Pointer) override
    Parameters
    Type Name Description
    UUxtNearPointerComponent * Pointer
    | Improve this Doc View Source

    SetCollisionProfile(FName Profile)

    Set collision profile for the slider thumb

    Declaration
    public: void SetCollisionProfile(FName Profile)
    Parameters
    Type Name Description
    FName Profile
    | Improve this Doc View Source

    SetEnabled(bool bEnabled)

    Set the enabled state of the slider

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

    SetNumTickMarks(int NumTicks)

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

    SetSliderEndDistance(float NewEnd)

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

    SetSliderStartDistance(float NewStart)

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

    SetSliderValue(float NewValue)

    Declaration
    public: void SetSliderValue(float NewValue)
    Parameters
    Type Name Description
    float NewValue
    | 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

    SetThumbVisuals(UStaticMeshComponent *Visuals)

    Set Static Mesh Component used for the thumb visuals

    Declaration
    public: void SetThumbVisuals(UStaticMeshComponent *Visuals)
    Parameters
    Type Name Description
    UStaticMeshComponent * Visuals
    | Improve this Doc View Source

    SetTickMarkScale(FVector NewScale)

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

    SetTickMarkVisuals(UInstancedStaticMeshComponent *Visuals)

    Set Instanced Static Mesh Component used for the tick marks

    Declaration
    public: void SetTickMarkVisuals(UInstancedStaticMeshComponent *Visuals)
    Parameters
    Type Name Description
    UInstancedStaticMeshComponent * Visuals
    | Improve this Doc View Source

    SetTrackVisuals(UStaticMeshComponent *Visuals)

    Set Static Mesh Component used for the track visuals

    Declaration
    public: void SetTrackVisuals(UStaticMeshComponent *Visuals)
    Parameters
    Type Name Description
    UStaticMeshComponent * Visuals
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX