getProjectionMatrix
OpenGL-style projection matrix (column-major) from intrinsics for the given viewport and near/far. Use with [getViewMatrix] to render 3D content aligned with the playback camera.
Declaration
fun getProjectionMatrix( zNear: Float, zFar: Float, viewportWidth: Int, viewportHeight: Int, deviceDisplayOrientation: Orientation? = null ): FloatArray
OpenGL-style projection matrix (column-major) from intrinsics for the given viewport and near/far. Use with [getViewMatrix] to render 3D content aligned with the playback camera.