GazeHandHelper.TryGetHandsCentroid(Vector3) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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