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."); } }
private void SetMatrix(RenderViewMatrix matrixType, double[] cameraMatrix) { udError error = udRenderTarget_SetMatrix(pRenderTarget, matrixType, cameraMatrix); if (error != udError.udE_Success) { throw new UDException(error); } }
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."); } }
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()); } }
private static extern vdkError vdkRenderView_SetMatrix(IntPtr pRenderView, RenderViewMatrix matrixType, double[] cameraMatrix);
private static extern udError udRenderTarget_SetMatrix(IntPtr pRenderView, RenderViewMatrix matrixType, double[] cameraMatrix);