如何MatrixCamera的設置轉換成ProjectionCamera如何MatrixCamera的設置轉換成ProjectionCamera
我的代碼如下所示:
var vm = new Matrix3D(matrixarray[0], matrixarray[1], matrixarray[2], matrixarray[3], matrixarray[4],
matrixarray[5], matrixarray[6], matrixarray[7], matrixarray[8], matrixarray[9],
matrixarray[10], matrixarray[11], matrixarray[12], matrixarray[13],
matrixarray[14], matrixarray[15]);
var pm = this.CreateFrustumMatrix(frustumArray[0], frustumArray[1], frustumArray[2], frustumArray[3],
frustumArray[4], frustumArray[5]);
var mc = new MatrixCamera(vm, pm);
,但我想用一個ProjectionCamera,所以,我想將其轉換爲ProjectionCamera
望着文檔快速ProjectionCamera是一個抽象類 – Sayse