MagicLeapFacialExpressionFeature
NameSpace: FacialExpressions
Inherits from:
MagicLeapOpenXRFeatureBase,
OpenXRFeature
Public Methods
void CreateClient
public void CreateClient(
FacialBlendShape [] requestedFacialBlendShapes
)
Parameters
Type | Name | Description |
---|---|---|
FacialBlendShape [] | requestedFacialBlendShapes | The type of facial expression blend shape. |
void DestroyClient
public void DestroyClient()
void GetBlendShapesInfo
public void GetBlendShapesInfo(
ref BlendShapeProperties [] blendShapes
)
Parameters
Type | Name | Description |
---|---|---|
ref BlendShapeProperties [] | blendShapes | The data properties associated with a given blend shape obtained by the Facial Expressions API. |
Protected Methods
OnInstanceCreate
protected override bool OnInstanceCreate(
ulong xrInstance
)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrInstance |
OnSessionDestroy
protected override void OnSessionDestroy(
ulong xrSession
)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrSession |
Public Attributes
FeatureId
public const string FeatureId = "com.magicleap.openxr.feature.ml2_facialexpression";
Protected Attributes
UsesExperimentalExtensions
protected override bool UsesExperimentalExtensions => true;