Kinect.KinectManager.MapDepthPointToColorCoords C# (CSharp) Method

MapDepthPointToColorCoords() public method

Returns the color-map coordinates of a depth point.
public MapDepthPointToColorCoords ( Vector2 posPoint, ushort depthValue ) : Vector2
posPoint UnityEngine.Vector2 Depth point coordinates
depthValue ushort Depth value
return UnityEngine.Vector2
        public Vector2 MapDepthPointToColorCoords(Vector2 posPoint, ushort depthValue)
        {
            Vector2 posColor = Vector3.zero;

            if (kinectInitialized)
            {
                posColor = KinectInterop.MapDepthPointToColorCoords(sensorData, posPoint, depthValue);
            }

            return posColor;
        }
KinectManager