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

UOculusXRFaceTrackingComponent Class

Extends UActorComponent

Fields

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.
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.
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.
An array of optional expression modifiers that can be applied.
This flag determines if the face should be updated or not during the components tick.
This flag determines if the face should be modified with Expression Modifiers or not during the components tick.

Member Functions

UOculusXRFaceTrackingComponent ( )
virtual void BeginPlay ( )
virtual void EndPlay
( const EEndPlayReason::Type EndPlayReason )
virtual void TickComponent
( float DeltaTime,
enum ELevelTick TickType,
FActorComponentTickFunction * ThisTickFunction )
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.
Get a face expression value given an expression key.
Parameters
Expression
: The expression key that will be queried.
Clears all face expression values.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon