Class UUxtTouchBasedHandTrackerComponent
Component added automatically by UXT to the player controller to enable driving far interactions via touch input. The hand tracker interface is used just to provide the pointer pose and grab/select states, GetJointState() returns that pointer pose for all joints.
Inheritance
System::Object
UActorComponent
UUxtTouchBasedHandTrackerComponent
Namespace:
Assembly: .dll
Syntax
public: class UUxtTouchBasedHandTrackerComponent : public xtHandTracker
Methods
|
Improve this Doc
View Source
BeginPlay()
Declaration
public: virtual void BeginPlay() override
|
Improve this Doc
View Source
EndPlay(const EEndPlayReason::Type EndPlayReason)
Declaration
public: virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) override
Parameters
Type |
Name |
Description |
const EEndPlayReason::Type |
EndPlayReason |
|
|
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
Parameters
Type |
Name |
Description |
EControllerHand |
Hand |
|
bool & |
OutIsGrabbing |
|
Returns
Overrides
|
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
Parameters
Type |
Name |
Description |
EControllerHand |
Hand |
|
bool & |
OutIsSelectPressed |
|
Returns
Overrides
|
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
Parameters
Type |
Name |
Description |
EControllerHand |
Hand |
|
EUxtHandJoint |
Joint |
|
FQuat & |
OutOrientation |
|
FVector & |
OutPosition |
|
float & |
OutRadius |
|
Returns
Overrides
|
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
Parameters
Type |
Name |
Description |
EControllerHand |
Hand |
|
FQuat & |
OutOrientation |
|
FVector & |
OutPosition |
|
Returns
Overrides