Show / Hide Table of Contents

    Class IUxtHandTracker

    Hand tracker device interface. We assume that implementations poll and cache the hand tracking state at the beginning of the frame. This allows us to assume that if a hand is reported as tracked it will remain so for the remainder of the frame, simplifying client logic.

    Inheritance
    System::Object
    IModularFeature
    IUxtHandTracker
    Namespace:
    Assembly: .dll
    Syntax
    public: class IUxtHandTracker

    Constructors

    | Improve this Doc View Source

    ~IUxtHandTracker()

    Declaration
    public: virtual ~IUxtHandTracker()

    Methods

    | Improve this Doc View Source

    GetHandTracker()

    Returns the currently registered hand tracker or nullptr if none

    Declaration
    public: static IUxtHandTracker * GetHandTracker()
    Returns
    Type Description
    IUxtHandTracker *
    | Improve this Doc View Source

    GetIsGrabbing(EControllerHand Hand, bool &OutIsGrabbing)

    Obtain current grabbing state. Returns false if the hand is not tracked this frame, in which case the value of the output parameter is unchanged.

    Declaration
    public: virtual bool GetIsGrabbing(EControllerHand Hand, bool &OutIsGrabbing) const =0
    Parameters
    Type Name Description
    EControllerHand Hand
    bool & OutIsGrabbing
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    GetIsSelectPressed(EControllerHand Hand, bool &OutIsSelectPressed)

    Obtain current selection state. Returns false if the hand is not tracked this frame, in which case the value of the output parameter is unchanged.

    Declaration
    public: virtual bool GetIsSelectPressed(EControllerHand Hand, bool &OutIsSelectPressed) const =0
    Parameters
    Type Name Description
    EControllerHand Hand
    bool & OutIsSelectPressed
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    GetJointState(EControllerHand Hand, EUxtHandJoint Joint, FQuat &OutOrientation, FVector &OutPosition, float &OutRadius)

    Obtain the state of the given joint. Returns false if the hand is not tracked this frame, in which case the values of the output parameters are unchanged.

    Declaration
    public: virtual bool GetJointState(EControllerHand Hand, EUxtHandJoint Joint, FQuat &OutOrientation, FVector &OutPosition, float &OutRadius) const =0
    Parameters
    Type Name Description
    EControllerHand Hand
    EUxtHandJoint Joint
    FQuat & OutOrientation
    FVector & OutPosition
    float & OutRadius
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    GetModularFeatureName()

    Declaration
    public: static FName GetModularFeatureName()
    Returns
    Type Description
    FName
    | Improve this Doc View Source

    GetPointerPose(EControllerHand Hand, FQuat &OutOrientation, FVector &OutPosition)

    Obtain the pointer pose. Returns false if the hand is not tracked this frame, in which case the value of the output parameter is unchanged.

    Declaration
    public: virtual bool GetPointerPose(EControllerHand Hand, FQuat &OutOrientation, FVector &OutPosition) const =0
    Parameters
    Type Name Description
    EControllerHand Hand
    FQuat & OutOrientation
    FVector & OutPosition
    Returns
    Type Description
    bool
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX