Show / Hide Table of Contents

Class XR_HTC_facial_tracking_defs

Inheritance
object
XR_HTC_facial_tracking_defs
XR_HTC_facial_tracking_impls
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VIVE.OpenXR
Assembly: VIVE.OpenXR.dll
Syntax
public class XR_HTC_facial_tracking_defs

Fields

m_FacialExpressions

Declaration
protected XrFacialExpressionsHTC m_FacialExpressions
Field Value
Type Description
XrFacialExpressionsHTC

s_ExpressionWeightings

Declaration
protected Dictionary<XrFacialTrackingTypeHTC, float[]> s_ExpressionWeightings
Field Value
Type Description
Dictionary<XrFacialTrackingTypeHTC, float[]>

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
Type Name Description
XrFacialTrackingTypeHTC facialTrackingType

The XrFacialTrackingTypeHTC describes which type of tracking the XrFacialTrackerHTC is using.

float[] expressionWeightings

A float array filled in by the runtime, specifying the weightings for each blend shape. The array size is XR_EYE_EXPRESSION_MAX_ENUM_HTC for eye expression and XR_LIP_EXPRESSION_MAX_ENUM_HTC for lip expression.

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
Type Name Description
XrFacialTrackerCreateInfoHTC createInfo
ulong facialTracker
Returns
Type Description
XrResult

xrDestroyFacialTrackerHTC(ulong)

Declaration
public virtual XrResult xrDestroyFacialTrackerHTC(ulong facialTracker)
Parameters
Type Name Description
ulong facialTracker
Returns
Type Description
XrResult

xrGetFacialExpressionsHTC(ulong, out XrFacialExpressionsHTC)

Declaration
public virtual XrResult xrGetFacialExpressionsHTC(ulong facialTracker, out XrFacialExpressionsHTC facialExpressions)
Parameters
Type Name Description
ulong facialTracker
XrFacialExpressionsHTC facialExpressions
Returns
Type Description
XrResult
In This Article
Back to top © Copyright 2024 HTC Corporation. All Rights Reserved.
Generated by DocFX