示例#1
0
        public void SetMatrix(RenderViewMatrix matrixType, double[] cameraMatrix)
        {
            vdkError error = vdkRenderView_SetMatrix(pRenderView, matrixType, cameraMatrix);

            if (error != Vault.vdkError.vE_Success)
            {
                throw new Exception("vdkRenderView.SetMatrix failed.");
            }
        }
示例#2
0
            private void SetMatrix(RenderViewMatrix matrixType, double[] cameraMatrix)
            {
                udError error = udRenderTarget_SetMatrix(pRenderTarget, matrixType, cameraMatrix);

                if (error != udError.udE_Success)
                {
                    throw new UDException(error);
                }
            }
示例#3
0
        public void SetMatrix(RenderViewMatrix matrixType, double[] cameraMatrix)
        {
            udError error = udRenderTarget_SetMatrix(pRenderTarget, matrixType, cameraMatrix);

            if (error != udError.udE_Success)
            {
                throw new Exception("udRenderTarget.SetMatrix failed.");
            }
        }
示例#4
0
        public void SetMatrix(RenderViewMatrix matrixType, double[] cameraMatrix)
        {
            if (pRenderView == IntPtr.Zero)
            {
                throw new Exception("view not instantiated");
            }

            vdkError error = vdkRenderView_SetMatrix(pRenderView, matrixType, cameraMatrix);

            if (error != Vault.vdkError.vE_Success)
            {
                throw new Exception("vdkRenderView.SetMatrix failed: " + error.ToString());
            }
        }
示例#5
0
 private static extern vdkError vdkRenderView_SetMatrix(IntPtr pRenderView, RenderViewMatrix matrixType, double[] cameraMatrix);
示例#6
0
 private static extern udError udRenderTarget_SetMatrix(IntPtr pRenderView, RenderViewMatrix matrixType, double[] cameraMatrix);