Back to Filament

getRotation

docs/android/dokka/filament-android/com.google.android.filament/-indirect-light/get-rotation.md

1.75.0957 B
Original Source

//filament-android/com.google.android.filament/IndirectLight/getRotation

getRotation

[main]
open fun getRotation(rotation: Array<Float>): Array<Float>

Returns the rigid-body transformation applied to the IBL.

Return

the rotation paramter if it was provided, or a newly allocated float array containing the rigid-body transformation applied to the IBL

Parameters

main

rotationan array of 9 floats to receive the rigid-body transformation applied to the IBL or null