Head Mounted VR 2.0
Loading...
Searching...
No Matches
UVR_MotionControllerComponent Class Reference

#include <VR_MotionControllerComponent.h>

+ Inheritance diagram for UVR_MotionControllerComponent:

Public Member Functions

 UVR_MotionControllerComponent (const FObjectInitializer &ObjectInitializer)
 
FORCEINLINE FFingerCurls GetCurrentFingerCurls () const
 
FORCEINLINE bool IsUsingFingerTracking () const
 
virtual bool VRPollControllerState (FVector &Position, FRotator &Orientation, float WorldToMetersScale)
 
bool VRPollControllerState_GameThread (FVector &Position, FRotator &Orientation, bool &OutbProvidedLinearVelocity, FVector &OutLinearVelocity, bool &OutbProvidedAngularVelocity, FVector &OutAngularVelocityAsAxisAndLength, bool &OutbProvidedLinearAcceleration, FVector &OutLinearAcceleration, float WorldToMetersScale)
 
bool VRPollControllerState_RenderThread (FVector &Position, FRotator &Orientation, float WorldToMetersScale)
 

Public Attributes

float NetUpdateRate
 
float NetTransformUpdateCount
 
float NetFingersUpdateCount
 
bool bUseTracking
 
TArray< UPrimitiveComponent * > AdditionalLateUpdateComponents
 

Protected Member Functions

virtual void CreateRenderState_Concurrent (FRegisterComponentContext *Context) override
 
virtual void SendRenderTransform_Concurrent () override
 

Protected Attributes

FFingerCurls ReplicatedFingerCurls
 
FFingerCurls CurrentFingerCurls
 
FFingerCurls LastFingerCurls
 
float Index
 
float Middle
 
float Ring
 
float Pinky
 
float Thumb
 
bool bFingerTrackingIsValid
 

Constructor & Destructor Documentation

◆ UVR_MotionControllerComponent()

UVR_MotionControllerComponent::UVR_MotionControllerComponent ( const FObjectInitializer & ObjectInitializer)

Member Function Documentation

◆ CreateRenderState_Concurrent()

void UVR_MotionControllerComponent::CreateRenderState_Concurrent ( FRegisterComponentContext * Context)
overrideprotectedvirtual

◆ GetCurrentFingerCurls()

FORCEINLINE FFingerCurls UVR_MotionControllerComponent::GetCurrentFingerCurls ( ) const
inline

◆ IsUsingFingerTracking()

FORCEINLINE bool UVR_MotionControllerComponent::IsUsingFingerTracking ( ) const
inline

◆ SendRenderTransform_Concurrent()

void UVR_MotionControllerComponent::SendRenderTransform_Concurrent ( )
overrideprotectedvirtual

◆ VRPollControllerState()

bool UVR_MotionControllerComponent::VRPollControllerState ( FVector & Position,
FRotator & Orientation,
float WorldToMetersScale )
virtual

◆ VRPollControllerState_GameThread()

bool UVR_MotionControllerComponent::VRPollControllerState_GameThread ( FVector & Position,
FRotator & Orientation,
bool & OutbProvidedLinearVelocity,
FVector & OutLinearVelocity,
bool & OutbProvidedAngularVelocity,
FVector & OutAngularVelocityAsAxisAndLength,
bool & OutbProvidedLinearAcceleration,
FVector & OutLinearAcceleration,
float WorldToMetersScale )

◆ VRPollControllerState_RenderThread()

bool UVR_MotionControllerComponent::VRPollControllerState_RenderThread ( FVector & Position,
FRotator & Orientation,
float WorldToMetersScale )

Member Data Documentation

◆ AdditionalLateUpdateComponents

TArray<UPrimitiveComponent*> UVR_MotionControllerComponent::AdditionalLateUpdateComponents

◆ bFingerTrackingIsValid

bool UVR_MotionControllerComponent::bFingerTrackingIsValid
protected

◆ bUseTracking

bool UVR_MotionControllerComponent::bUseTracking

◆ CurrentFingerCurls

FFingerCurls UVR_MotionControllerComponent::CurrentFingerCurls
protected

◆ Index

float UVR_MotionControllerComponent::Index
protected

◆ LastFingerCurls

FFingerCurls UVR_MotionControllerComponent::LastFingerCurls
protected

◆ Middle

float UVR_MotionControllerComponent::Middle
protected

◆ NetFingersUpdateCount

float UVR_MotionControllerComponent::NetFingersUpdateCount

◆ NetTransformUpdateCount

float UVR_MotionControllerComponent::NetTransformUpdateCount

◆ NetUpdateRate

float UVR_MotionControllerComponent::NetUpdateRate

◆ Pinky

float UVR_MotionControllerComponent::Pinky
protected

◆ ReplicatedFingerCurls

FFingerCurls UVR_MotionControllerComponent::ReplicatedFingerCurls
protected

◆ Ring

float UVR_MotionControllerComponent::Ring
protected

◆ Thumb

float UVR_MotionControllerComponent::Thumb
protected

The documentation for this class was generated from the following files: