INTERNAL_CALL_ScreenToViewportPoint() приватный Метод

private INTERNAL_CALL_ScreenToViewportPoint ( Camera self, Vector3 &position, Vector3 &value ) : void
self Camera
position Vector3
value Vector3
Результат void
Пример #1
0
        public Vector3 ScreenToViewportPoint(Vector3 position)
        {
            Vector3 result;

            Camera.INTERNAL_CALL_ScreenToViewportPoint(this, ref position, out result);
            return(result);
        }
Пример #2
0
        /// <summary>
        ///   <para>Transforms position from screen space into viewport space.</para>
        /// </summary>
        /// <param name="position"></param>
        public Vector3 ScreenToViewportPoint(Vector3 position)
        {
            Vector3 vector3;

            Camera.INTERNAL_CALL_ScreenToViewportPoint(this, ref position, out vector3);
            return(vector3);
        }
Пример #3
0
 public Vector3 ScreenToViewportPoint(Vector3 position)
 {
     return(Camera.INTERNAL_CALL_ScreenToViewportPoint(this, ref position));
 }