Table of Contents

Class XRFaceTracker

A tracked face.

Inheritance
XRFaceTracker

Remarks

An instance of this object represents a tracked face and its corresponding blend shapes. The blend shapes come from the Unified Expressions standard, and contain extended details and visuals for each blend shape. Additionally the Tracking Standard Comparison page documents the relationship between Unified Expressions and other standards.

As face trackers are turned on they are registered with the XRServer.

See Also

Properties

blend_shapes

The array of face blend shape weights with indices corresponding to the BlendShapeEntry enum.

var blend_shapes : PackedFloat32Array = PackedFloat32Array()

Property Value

PackedFloat32Array

Remarks

Methods

get_blend_shape(int)

Qualifiers: const

Returns the requested face blend shape weight.

float get_blend_shape(int blend_shape)

Parameters

blend_shape int

set_blend_shape(int, float)

Sets a face blend shape weight.

void set_blend_shape(int blend_shape, float weight)

Parameters

blend_shape int
weight float