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.

Protected Properties

AllowDuplicateMapping : bool
[Get][Set]
Signature
bool AllowDuplicateMapping
RetargetingValue : RetargetingType
[Get][Set]
Signature
RetargetingType RetargetingValue

Properties

[Get][Set]
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.
Signature
OVRFaceExpressions.FaceExpression [] Mappings

Protected Methods

Start ()
Signature
override void Start()
Returns
override void

Inner Enum

RetargetingType Enum

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.

Enumeration Constants

MemberValue
OculusFace
0
Custom
1