Back to Filament

transform

docs/android/dokka/filament-android/com.google.android.filament/-light-manager/-shadow-options/transform.md

1.75.0719 B
Original Source

//filament-android/com.google.android.filament/LightManager/ShadowOptions/transform

transform

[main]
open var transform: Array<Float>

Transforms the shadow direction. Must be a unit quaternion. The default is identity. Ignored if the light type isn't directional. For artistic use. Use with caution. The quaternion is stored as the imaginary part in the first 3 elements and the real part in the last element of the transform array.