API reference
API reference
Select your platform
No SDKs available
No versions available

UOculusXRFaceTrackingComponent Class

UOculusXRFaceTrackingComponent extends UActorComponent.

Overview

Public Member Functions

void
void
EndPlay
( const EEndPlayReason::Type EndPlayReason )
void
TickComponent
( float DeltaTime,
enum ELevelTick TickType,
FActorComponentTickFunction * ThisTickFunction )
void
SetExpressionValue
( EOculusXRFaceExpression Expression,
float Value )
float
void

Details

Fields

FName UOculusXRFaceTrackingComponent::TargetMeshComponentName
The name of the skinned mesh component that this component targets for facial expression. This must be the name of a component on this actor.
float UOculusXRFaceTrackingComponent::InvalidFaceDataResetTime
If the face data is invalid for at least this or longer than this time then all face blendshapes/morph targets are reset to zero.
TMap<EOculusXRFaceExpression, FName> UOculusXRFaceTrackingComponent::ExpressionNames
The list of expressions that this component supports. Names are validated on startup so only valid morph targets on the skeletal mesh will be targeted.
TArray<FOculusXRFaceExpressionModifier> UOculusXRFaceTrackingComponent::ExpressionModifiers
An array of optional expression modifiers that can be applied.
bool UOculusXRFaceTrackingComponent::bUpdateFace
This flag determines if the face should be updated or not during the components tick.
bool UOculusXRFaceTrackingComponent::bUseModifiers
This flag determines if the face should be modified with Expression Modifiers or not during the components tick.

Member Functions

UOculusXRFaceTrackingComponent::UOculusXRFaceTrackingComponent ( )
No description available.
virtual void UOculusXRFaceTrackingComponent::BeginPlay ( )
No description available.
virtual void UOculusXRFaceTrackingComponent::EndPlay
( const EEndPlayReason::Type EndPlayReason )
No description available.
virtual void UOculusXRFaceTrackingComponent::TickComponent
( float DeltaTime,
enum ELevelTick TickType,
FActorComponentTickFunction * ThisTickFunction )
No description available.
void UOculusXRFaceTrackingComponent::SetExpressionValue
( EOculusXRFaceExpression Expression,
float Value )
Set face expression value with expression key and value(0-1).
Parameters
Expression
: The expression key that will be modified.
Value
: The new value to assign to the expression, 0 will remove all changes.
float UOculusXRFaceTrackingComponent::GetExpressionValue
( EOculusXRFaceExpression Expression )
Get a face expression value given an expression key.
Parameters
Expression
: The expression key that will be queried.
void UOculusXRFaceTrackingComponent::ClearExpressionValues ( )
Clears all face expression values.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon