INTERNAL_CALL_ScreenPointToRay() private method

private INTERNAL_CALL_ScreenPointToRay ( Camera self, Vector3 &position, Ray &value ) : void
self Camera
position Vector3
value Ray
return void
コード例 #1
0
        /// <summary>
        ///   <para>Returns a ray going from camera through a screen point.</para>
        /// </summary>
        /// <param name="position"></param>
        public Ray ScreenPointToRay(Vector3 position)
        {
            Ray ray;

            Camera.INTERNAL_CALL_ScreenPointToRay(this, ref position, out ray);
            return(ray);
        }
コード例 #2
0
ファイル: Camera.cs プロジェクト: zhkuang/UnityDecompiled
 public Ray ScreenPointToRay(Vector3 position)
 {
     return(Camera.INTERNAL_CALL_ScreenPointToRay(this, ref position));
 }