Kinect.FacetrackingManager.GetFaceModelVertex C# (CSharp) Method

GetFaceModelVertex() public method

Gets the face model vertex, if a face model is available and the index is in range; Vector3.zero otherwise.
public GetFaceModelVertex ( int index ) : Vector3
index int Vertex index, or Vector3.zero
return Vector3
        public Vector3 GetFaceModelVertex(int index)
        {
            if (bGotModelVertices)
            {
                if (index >= 0 && index < avModelVertices.Length)
                {
                    return avModelVertices[index];
                }
            }

            return Vector3.zero;
        }