Head Mounted VR 2.5
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)
 
virtual void InitializeComponent () override
 
virtual void GetLifetimeReplicatedProps (TArray< class FLifetimeProperty > &OutLifetimeProps) const
 
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)
 
float GetGameTimeSinceCreation () const
 
bool ComponentHasAuthority ()
 

Public Attributes

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

Protected Member Functions

virtual void TickComponent (float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override
 
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

◆ ComponentHasAuthority()

bool UVR_MotionControllerComponent::ComponentHasAuthority ( )
inline

◆ CreateRenderState_Concurrent()

void UVR_MotionControllerComponent::CreateRenderState_Concurrent ( FRegisterComponentContext *  Context)
overrideprotectedvirtual

◆ GetCurrentFingerCurls()

FORCEINLINE FFingerCurls UVR_MotionControllerComponent::GetCurrentFingerCurls ( ) const
inline

◆ GetGameTimeSinceCreation()

float UVR_MotionControllerComponent::GetGameTimeSinceCreation ( ) const

◆ GetLifetimeReplicatedProps()

void UVR_MotionControllerComponent::GetLifetimeReplicatedProps ( TArray< class FLifetimeProperty > &  OutLifetimeProps) const
virtual

Reimplemented in UVR_HandComponent.

◆ InitializeComponent()

void UVR_MotionControllerComponent::InitializeComponent ( )
overridevirtual

◆ IsUsingFingerTracking()

FORCEINLINE bool UVR_MotionControllerComponent::IsUsingFingerTracking ( ) const
inline

◆ SendRenderTransform_Concurrent()

void UVR_MotionControllerComponent::SendRenderTransform_Concurrent ( )
overrideprotectedvirtual

◆ TickComponent()

void UVR_MotionControllerComponent::TickComponent ( float  DeltaTime,
enum ELevelTick  TickType,
FActorComponentTickFunction *  ThisTickFunction 
)
overrideprotectedvirtual

Reimplemented in UVR_HandComponent.

◆ 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: