MagicLeapFacialExpressionFeature
NameSpace: MagicLeapSupport
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
GetFeatureId
protected virtual override string GetFeatureId()
Reimplements: GetFeatureId
OnInstanceCreate
protected override bool OnInstanceCreate(
ulong xrInstance
)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrInstance |
Public Attributes
FeatureId
public const string FeatureId = "com.magicleap.openxr.feature.ml2_facialexpression";
Public Enums
BlendShapePropertiesFlags
Flags that determine if a blend shape is considered valid and/or tracked.
Enumerator | Value | Description |
---|---|---|
None | 0 << 0 | |
ValidBit | 1 << 0 | |
TrackedBit | 1 << 1 |
FacialBlendShape
The type of facial expression blend shape.
Enumerator | Value | Description |
---|---|---|
BrowLowererL | 0 | |
BrowLowererR | ||
CheekRaiserL | ||
CheekRaiserR | ||
ChinRaiser | ||
DimplerL | ||
DimplerR | ||
EyesClosedL | ||
EyesClosedR | ||
InnerBrowRaiserL | ||
InnerBrowRaiserR | ||
JawDrop | ||
LidTightenerL | ||
LidTightenerR | ||
LipCornerDepressorL | ||
LipCornerDepressorR | ||
LipCornerPullerL | ||
LipCornerPullerR | ||
LipFunnelerLB | ||
LipFunnelerLT | ||
LipFunnelerRB | ||
LipFunnelerRT | ||
LipPressorL | ||
LipPressorR | ||
LipPuckerL | ||
LipPuckerR | ||
LipStretcherL | ||
LipStretcherR | ||
LipSuckLB | ||
LipSuckLT | ||
LipSuckRB | ||
LipSuckRT | ||
LipTightenerL | ||
LipTightenerR | ||
LipsToward | ||
LowerLipDepressorL | ||
LowerLipDepressorR | ||
NoseWrinklerL | ||
NoseWrinklerR | ||
OuterBrowRaiserL | ||
OuterBrowRaiserR | ||
UpperLidRaiserL | ||
UpperLidRaiserR | ||
UpperLipRaiserL | ||
UpperLipRaiserR | ||
TongueOut |