Skip to main content
Version: 12 Dec 2024

MagicLeapFacialExpressionFeature

NameSpace: FacialExpressions

Inherits from:
MagicLeapOpenXRFeatureBase,
OpenXRFeature

Public Methods​

void CreateClient​

public void CreateClient(
FacialBlendShape [] requestedFacialBlendShapes
)

Parameters

TypeNameDescription
FacialBlendShape []requestedFacialBlendShapesThe type of facial expression blend shape.

void DestroyClient​

public void DestroyClient()

void GetBlendShapesInfo​

public void GetBlendShapesInfo(
ref BlendShapeProperties [] blendShapes
)

Parameters

TypeNameDescription
ref BlendShapeProperties []blendShapesThe data properties associated with a given blend shape obtained by the Facial Expressions API.

Protected Methods​

OnInstanceCreate​

protected override bool OnInstanceCreate(
ulong xrInstance
)

Parameters

TypeNameDescription
ulongxrInstance

OnSessionDestroy​

protected override void OnSessionDestroy(
ulong xrSession
)

Parameters

TypeNameDescription
ulongxrSession

Public Attributes​

FeatureId​


public const string FeatureId = "com.magicleap.openxr.feature.ml2_facialexpression";


Protected Attributes​

UsesExperimentalExtensions​


protected override bool UsesExperimentalExtensions => true;