Back to Filament

getCullingProjectionMatrix

docs/android/dokka/filament-android/com.google.android.filament/-camera/get-culling-projection-matrix.md

1.75.01.0 KB
Original Source

//filament-android/com.google.android.filament/Camera/getCullingProjectionMatrix

getCullingProjectionMatrix

[main]
open fun getCullingProjectionMatrix(out: Array<Double>): Array<Double>

Retrieves the camera's culling matrix. The culling matrix is the same as the projection matrix, except the far plane is finite.

Return

A 16-float array containing the camera's projection as a column-major matrix.

Parameters

main

outA 16-float array where the projection matrix will be stored, or null in which case a new array is allocated.