UnityEngine.Camera.INTERNAL_CALL_SetStereoProjectionMatrices C# (CSharp) Method

INTERNAL_CALL_SetStereoProjectionMatrices() private method

private INTERNAL_CALL_SetStereoProjectionMatrices ( Camera self, Matrix4x4 &leftMatrix, Matrix4x4 &rightMatrix ) : void
self Camera
leftMatrix Matrix4x4
rightMatrix Matrix4x4
return void
        private static extern void INTERNAL_CALL_SetStereoProjectionMatrices(Camera self, ref Matrix4x4 leftMatrix, ref Matrix4x4 rightMatrix);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

コード例 #1
0
 /// <summary>
 ///   <para>Define the projection matrix for both stereo eye. Only work in 3D flat panel display.</para>
 /// </summary>
 /// <param name="leftMatrix">Projection matrix for the stereo left eye.</param>
 /// <param name="rightMatrix">Projection matrix for the stereo left eye.</param>
 public void SetStereoProjectionMatrices(Matrix4x4 leftMatrix, Matrix4x4 rightMatrix)
 {
     Camera.INTERNAL_CALL_SetStereoProjectionMatrices(this, ref leftMatrix, ref rightMatrix);
 }
Camera