Method | Description | |
---|---|---|
GetAnimUnit ( |
Gets the animation unit value at given index, or 0 if the index is invalid.
|
|
GetFaceColorRect ( long userId ) : |
Gets the tracked face rectangle of the specified user in color image coordinates, or zero-rect if the user's face is not tracked.
|
|
GetFaceModelTriangleIndices ( bool bMirroredModel ) : int[] |
Gets the face model triangle indices, if a face model is available; null otherwise.
|
|
GetFaceModelVertex ( int index ) : Vector3 |
Gets the face model vertex, if a face model is available and the index is in range; Vector3.zero otherwise.
|
|
GetFaceModelVertexCount ( ) : int |
Gets the count of face model vertices.
|
|
GetFaceModelVertices ( ) : Vector3[] |
Gets all face model vertices, if a face model is available; null otherwise.
|
|
GetFaceTrackingID ( ) : long |
Gets the current user ID, or 0 if no user is currently tracked.
|
|
GetHeadPosition ( bool bMirroredMovement ) : Vector3 |
Gets the head position of the currently tracked user.
|
|
GetHeadPosition ( long userId, bool bMirroredMovement ) : Vector3 |
Gets the head position of the specified user.
|
|
GetHeadRotation ( bool bMirroredMovement ) : |
Gets the head rotation of the currently tracked user.
|
|
GetHeadRotation ( long userId, bool bMirroredMovement ) : |
Gets the head rotation of the specified user.
|
|
GetShapeUnit ( |
Gets the shape unit value at given index, or 0 if the index is invalid.
|
|
GetUserAnimUnits ( long userId, float>.Dictionary |
Gets all animation units for the specified user.
|
|
GetUserFaceVertices ( long userId, Vector3 &avVertices ) : bool |
Gets all face model vertices for the specified user.
|
|
GetUserShapeUnits ( long userId, float>.Dictionary |
Gets all animation units for the specified user.
|
|
IsFaceTrackingInitialized ( ) : bool |
Determines the facetracking system was successfully initialized, false otherwise.
|
|
IsGotAU ( ) : bool |
Determines whether there are valid anim units.
|
|
IsGotSU ( ) : bool |
Determines whether there are valid shape units.
|
|
IsTrackingFace ( ) : bool |
Determines whether this the sensor is currently tracking a face.
|
|
IsTrackingFace ( long userId ) : bool |
Determines whether the sensor is currently tracking the face of the specified user.
|
|
OnDestroy ( ) : void | ||
OnGUI ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
CreateFaceModelMesh ( ) : void | ||
UpdateFaceModelMesh ( ) : void |
public GetAnimUnit ( |
||
faceAnimKey | Face animation unit. | |
return | float |
public GetFaceColorRect ( long userId ) : |
||
userId | long | User ID |
return |
public GetFaceModelTriangleIndices ( bool bMirroredModel ) : int[] | ||
bMirroredModel | bool | If set to |
return | int[] |
public GetFaceModelVertex ( int index ) : Vector3 | ||
index | int | Vertex index, or Vector3.zero |
return | Vector3 |
public GetHeadPosition ( bool bMirroredMovement ) : Vector3 | ||
bMirroredMovement | bool | If set to |
return | Vector3 |
public GetHeadPosition ( long userId, bool bMirroredMovement ) : Vector3 | ||
userId | long | User ID |
bMirroredMovement | bool | If set to |
return | Vector3 |
public GetHeadRotation ( bool bMirroredMovement ) : |
||
bMirroredMovement | bool | If set to |
return |
public GetHeadRotation ( long userId, bool bMirroredMovement ) : |
||
userId | long | User ID |
bMirroredMovement | bool | If set to |
return |
public GetShapeUnit ( |
||
faceShapeKey | Face shape unit. | |
return | float |
public GetUserAnimUnits ( long userId, float>.Dictionary |
||
userId | long | User ID |
dictAnimUnits | float>.Dictionary | Animation units dictionary, to get the results. |
return | bool |
public GetUserFaceVertices ( long userId, Vector3 &avVertices ) : bool | ||
userId | long | User ID |
avVertices | Vector3 | Reference to array of vertices, to get the result. |
return | bool |
public GetUserShapeUnits ( long userId, float>.Dictionary |
||
userId | long | User ID |
dictShapeUnits | float>.Dictionary | Shape units dictionary, to get the results. |
return | bool |
public IsTrackingFace ( long userId ) : bool | ||
userId | long | User ID |
return | bool |