Back to Filament

setCustomEyeProjection

docs/android/dokka/filament-android/com.google.android.filament/-camera/set-custom-eye-projection.md

1.75.01.4 KB
Original Source

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

setCustomEyeProjection

[main]
open fun setCustomEyeProjection(inProjection: Array<Double>, count: Int, inProjectionForCulling: Array<Double>, near: Double, far: Double)

Sets a custom projection matrix for each eye.

Parameters

main

inProjectionAn array of projection matrices, one for each eye. Must have at least 16 * count elements.
countNumber of eyes to set.
inProjectionForCullingCustom projection matrix for culling, must encompass all eyes.
nearDistance to the near plane.
farDistance to the far plane.