Class AUxtHandInteractionActor
Actor that drives hand interactions with components that implement the far, grab and poke target interfaces. A hand has two interaction modes:Near: interactions performed by poking or grabbing targets directly.
Far: interactions performed by pointing at far targets from a distance via a hand ray. The actor transitions between modes depending on whether there is a grab or poke target within the near activation distance.
Inheritance
System::Object
AActor
AUxtHandInteractionActor
Namespace:
Assembly: .dll
Syntax
public: class AUxtHandInteractionActor
Constructors
|
Improve this Doc
View Source
AUxtHandInteractionActor(const FObjectInitializer &ObjectInitializer)
Declaration
public: AUxtHandInteractionActor(const FObjectInitializer &ObjectInitializer)
Parameters
Type |
Name |
Description |
const FObjectInitializer & |
ObjectInitializer |
|
Fields
|
Improve this Doc
View Source
bShowNearCursorOnGrabTargets
Show the near cursor on grab targets. Changes to this value after BeginPlay have no effect.
Declaration
public: bool bShowNearCursorOnGrabTargets= false
Field Value
|
Improve this Doc
View Source
bUseDefaultFarBeam
Create default visuals for the far beam. Changes to this value after BeginPlay have no effect.
Declaration
public: bool bUseDefaultFarBeam= true
Field Value
|
Improve this Doc
View Source
bUseDefaultFarCursor
Create default visuals for the far cursor. Changes to this value after BeginPlay have no effect.
Declaration
public: bool bUseDefaultFarCursor= true
Field Value
|
Improve this Doc
View Source
bUseDefaultNearCursor
Create default visuals for the near cursor. Changes to this value after BeginPlay have no effect.
Declaration
public: bool bUseDefaultNearCursor= true
Field Value
|
Improve this Doc
View Source
NearActivationDistance
Distance from the hand to the closest grab or poke target at which near interaction activates.
Declaration
public: float NearActivationDistance= 20.0f
Field Value
Methods
|
Improve this Doc
View Source
BeginPlay()
Declaration
public: virtual void BeginPlay() override
|
Improve this Doc
View Source
GetHand()
Declaration
public: EControllerHand GetHand() const
Returns
Type |
Description |
EControllerHand |
|
|
Improve this Doc
View Source
GetPokeRadius()
Declaration
public: float GetPokeRadius() const
Returns
|
Improve this Doc
View Source
GetRayLength()
Declaration
public: float GetRayLength() const
Returns
|
Improve this Doc
View Source
GetRayStartOffset()
Declaration
public: float GetRayStartOffset() const
Returns
|
Improve this Doc
View Source
GetTraceChannel()
Declaration
public: ECollisionChannel GetTraceChannel() const
Returns
Type |
Description |
ECollisionChannel |
|
|
Improve this Doc
View Source
SetHand(EControllerHand NewHand)
Declaration
public: void SetHand(EControllerHand NewHand)
Parameters
Type |
Name |
Description |
EControllerHand |
NewHand |
|
|
Improve this Doc
View Source
SetPokeRadius(float NewPokeRadius)
Declaration
public: void SetPokeRadius(float NewPokeRadius)
Parameters
Type |
Name |
Description |
float |
NewPokeRadius |
|
|
Improve this Doc
View Source
SetRayLength(float NewRayLength)
Declaration
public: void SetRayLength(float NewRayLength)
Parameters
Type |
Name |
Description |
float |
NewRayLength |
|
|
Improve this Doc
View Source
SetRayStartOffset(float NewRayStartOffset)
Declaration
public: void SetRayStartOffset(float NewRayStartOffset)
Parameters
Type |
Name |
Description |
float |
NewRayStartOffset |
|
|
Improve this Doc
View Source
SetTraceChannel(ECollisionChannel NewTraceChannel)
Declaration
public: void SetTraceChannel(ECollisionChannel NewTraceChannel)
Parameters
Type |
Name |
Description |
ECollisionChannel |
NewTraceChannel |
|
|
Improve this Doc
View Source
Tick(float DeltaTime)
Declaration
public: virtual void Tick(float DeltaTime) override
Parameters
Type |
Name |
Description |
float |
DeltaTime |
|