Class XR_HTC_facial_tracking_defs
Inheritance
XR_HTC_facial_tracking_defs
Assembly: VIVE.OpenXR.dll
Syntax
public class XR_HTC_facial_tracking_defs
Fields
m_FacialExpressions
Declaration
protected XrFacialExpressionsHTC m_FacialExpressions
Field Value
s_ExpressionWeightings
Declaration
protected Dictionary<XrFacialTrackingTypeHTC, float[]> s_ExpressionWeightings
Field Value
Methods
GetExpressionWeightings(XrFacialTrackingTypeHTC, out float[])
Retrieves an array of values of blend shapes for a facial expression on a given time.
Declaration
public virtual bool GetExpressionWeightings(XrFacialTrackingTypeHTC facialTrackingType, out float[] expressionWeightings)
Parameters
Returns
Type |
Description |
bool |
True for success.
|
InitializeFacialExpressions()
Declaration
protected void InitializeFacialExpressions()
xrCreateFacialTrackerHTC(XrFacialTrackerCreateInfoHTC, out ulong)
Declaration
public virtual XrResult xrCreateFacialTrackerHTC(XrFacialTrackerCreateInfoHTC createInfo, out ulong facialTracker)
Parameters
Returns
xrDestroyFacialTrackerHTC(ulong)
Declaration
public virtual XrResult xrDestroyFacialTrackerHTC(ulong facialTracker)
Parameters
Type |
Name |
Description |
ulong |
facialTracker |
|
Returns
xrGetFacialExpressionsHTC(ulong, out XrFacialExpressionsHTC)
Declaration
public virtual XrResult xrGetFacialExpressionsHTC(ulong facialTracker, out XrFacialExpressionsHTC facialExpressions)
Parameters
Returns