Head Mounted VR 3.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)
 
virtual void InitializeComponent () override
 
virtual void GetLifetimeReplicatedProps (TArray< class FLifetimeProperty > &OutLifetimeProps) const
 
FORCEINLINE FFingerCurls GetCurrentFingerCurls () const
 
FORCEINLINE bool IsUsingFingerTracking () const
 
FORCEINLINE FTransform GetLastSmoothRelativeTransform () 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)
 
bool IsSequencerActor ()
 
float GetGameTimeSinceCreation () const
 
bool ComponentHasAuthority ()
 

Public Attributes

float NetUpdateRate
 
float NetTransformUpdateCount
 
float NetFingersUpdateCount
 
bool bUseTracking
 
TArray< UPrimitiveComponent * > AdditionalLateUpdateComponents
 
bool bSmoothHandTracking
 
bool bWasSmoothingHand
 
bool bSmoothWithEuroLowPassFunction
 
float SmoothingSpeed
 
FBPEuroLowPassFilterTrans EuroSmoothingParams
 
FTransform LastSmoothRelativeTransform
 

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

◆ GetLastSmoothRelativeTransform()

FORCEINLINE FTransform UVR_MotionControllerComponent::GetLastSmoothRelativeTransform ( ) const
inline

◆ GetLifetimeReplicatedProps()

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

Reimplemented in UVR_HandComponent.

◆ InitializeComponent()

void UVR_MotionControllerComponent::InitializeComponent ( )
overridevirtual

◆ IsSequencerActor()

bool UVR_MotionControllerComponent::IsSequencerActor ( )
inline

◆ 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

◆ bSmoothHandTracking

bool UVR_MotionControllerComponent::bSmoothHandTracking

◆ bSmoothWithEuroLowPassFunction

bool UVR_MotionControllerComponent::bSmoothWithEuroLowPassFunction

◆ bUseTracking

bool UVR_MotionControllerComponent::bUseTracking

◆ bWasSmoothingHand

bool UVR_MotionControllerComponent::bWasSmoothingHand

◆ CurrentFingerCurls

FFingerCurls UVR_MotionControllerComponent::CurrentFingerCurls
protected

◆ EuroSmoothingParams

FBPEuroLowPassFilterTrans UVR_MotionControllerComponent::EuroSmoothingParams

◆ Index

float UVR_MotionControllerComponent::Index
protected

◆ LastFingerCurls

FFingerCurls UVR_MotionControllerComponent::LastFingerCurls
protected

◆ LastSmoothRelativeTransform

FTransform UVR_MotionControllerComponent::LastSmoothRelativeTransform

◆ 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

◆ SmoothingSpeed

float UVR_MotionControllerComponent::SmoothingSpeed

◆ Thumb

float UVR_MotionControllerComponent::Thumb
protected

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