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

UOculusXRFaceTrackingComponent Class

Extends UActorComponent

Constructors

UOculusXRFaceTrackingComponent ()
Signature
UOculusXRFaceTrackingComponent::UOculusXRFaceTrackingComponent()

Fields

bUpdateFace : bool
This flag determines if the face should be updated or not during the components tick.
Signature
bool UOculusXRFaceTrackingComponent::bUpdateFace
bUseModifiers : bool
This flag determines if the face should be modified with Expression Modifiers or not during the components tick.
Signature
bool UOculusXRFaceTrackingComponent::bUseModifiers
ExpressionModifiers : TArray< FOculusXRFaceExpressionModifier >
An array of optional expression modifiers that can be applied.
Signature
TArray<FOculusXRFaceExpressionModifier> UOculusXRFaceTrackingComponent::ExpressionModifiers
ExpressionNames : TMap< EOculusXRFaceExpression, FName >
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.
Signature
TMap<EOculusXRFaceExpression, FName> UOculusXRFaceTrackingComponent::ExpressionNames
InvalidFaceDataResetTime : float
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.
Signature
float UOculusXRFaceTrackingComponent::InvalidFaceDataResetTime
TargetMeshComponentName : FName
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.
Signature
FName UOculusXRFaceTrackingComponent::TargetMeshComponentName

Member Functions

BeginPlay ()
Signature
virtual void UOculusXRFaceTrackingComponent::BeginPlay() override
Returns
void
ClearExpressionValues ()
Clears all face expression values.
Signature
void UOculusXRFaceTrackingComponent::ClearExpressionValues()
Returns
void
EndPlay ( EndPlayReason )
Signature
virtual void UOculusXRFaceTrackingComponent::EndPlay(const EEndPlayReason::Type EndPlayReason) override
Parameters
EndPlayReason: const EEndPlayReason::Type
Returns
void
GetExpressionValue ( Expression )
Get a face expression value given an expression key.
Signature
float UOculusXRFaceTrackingComponent::GetExpressionValue(EOculusXRFaceExpression Expression) const
Parameters
Expression: EOculusXRFaceExpression  : The expression key that will be queried.
Returns
float
SetExpressionValue ( Expression , Value )
Set face expression value with expression key and value(0-1).
Signature
void UOculusXRFaceTrackingComponent::SetExpressionValue(EOculusXRFaceExpression Expression, float Value)
Parameters
Expression: EOculusXRFaceExpression  : The expression key that will be modified.
Value: float  : The new value to assign to the expression, 0 will remove all changes.
Returns
void
TickComponent ( DeltaTime , TickType , ThisTickFunction )
Signature
virtual void UOculusXRFaceTrackingComponent::TickComponent(float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override
Parameters
DeltaTime: float
TickType: enum ELevelTick
ThisTickFunction: FActorComponentTickFunction *
Returns
void