Back to Filament

castShadows

docs/android/dokka/filament-android/com.google.android.filament/-light-manager/-builder/cast-shadows.md

1.75.0581 B
Original Source

//filament-android/com.google.android.filament/LightManager/Builder/castShadows

castShadows

[main]
open fun castShadows(enable: Boolean): LightManager.Builder

Whether this Light casts shadows (disabled by default)

Return

This Builder, for chaining calls.

Parameters

main

enableEnables or disables casting shadows from this Light.