Back to Filament

getLeftVector

docs/android/dokka/filament-android/com.google.android.filament/-camera/get-left-vector.md

1.75.0951 B
Original Source

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

getLeftVector

[main]
open fun getLeftVector(out: Array<Float>): Array<Float>

Retrieves the camera left unit vector in world space, that is a unit vector that points to the left of the camera.

Return

A 3-float array containing the camera's left vector in world units.

Parameters

main

outA 3-float array where the left vector will be stored, or null in which case a new array is allocated.