Kinect.VisualGestureManager.GetGestureAtIndex C# (CSharp) Method

GetGestureAtIndex() public method

Gets the gesture name at specified index, or empty string if the index is out of range.
public GetGestureAtIndex ( int i ) : string
i int The index
return string
        public string GetGestureAtIndex(int i)
        {
            if (i >= 0 && i < gestureNames.Count)
            {
                return gestureNames[i];
            }

            return string.Empty;
        }