Modifier

Partager via


GazeHandHelper.TryGetHandsCentroid(Vector3) Method

Definition

TryGet style function to get the average of all active hand positions.

public:
 bool TryGetHandsCentroid([Runtime::InteropServices::Out] UnityEngine::Vector3 % handsCentroid);
public bool TryGetHandsCentroid (out UnityEngine.Vector3 handsCentroid);
member this.TryGetHandsCentroid : Vector3 -> bool
Public Function TryGetHandsCentroid (ByRef handsCentroid As Vector3) As Boolean

Parameters

handsCentroid
UnityEngine.Vector3

out value filled with Vector3 representing average of hand positions

Returns

true if there were any active hands; false if there were no active hands

Applies to