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

OVRCustomFace Class

Extends OVRFace
The component that drives blend shapes on a SkinnedMeshRenderer based on the values provided by OVRFaceExpressions due to face tracking being used on the face.
For more information, please see Face Tracking for Movement SDK for Unity.
See OVRFace for the base class. This specialization of OVRFace provides a mapping based on an array, which is configurable from the editor. This component comes with a custom editor that supports attempting to auto populate the mapping array based on string matching.

Member Enumerations

Enumeration RetargetingType

The type of retargeting used to map the OVRFaceExpressions to the blend shapes that exist on a model being driven by face tracking.
Use this to in case you wish to change the default retargeting behavior.
OculusFace
= 0
Custom
= 1

Properties

Returns the mapping from blend shape to OVRFaceExpressions value, accessed via the index of the blend shape SkinnedMeshRenderer being animated.
Set this field to map a blend shape to a different OVRFaceExpressions value.
RetargetingType RetargetingValue[Get]
bool AllowDuplicateMapping[Get]

Protected Functions

virtual override void Start ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon