Back to Filament

getFocusDistance

docs/android/dokka/filament-android/com.google.android.filament/-camera/get-focus-distance.md

1.75.0461 B
Original Source

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

getFocusDistance

[main]
open fun getFocusDistance(): Float

Gets the distance from the camera to the focus plane in world units

Return

Distance from the camera to the focus plane in world units