Back to Filament

showSun

docs/android/dokka/filament-android/com.google.android.filament/-skybox/-builder/show-sun.md

1.75.0726 B
Original Source

//filament-android/com.google.android.filament/Skybox/Builder/showSun

showSun

[main]
open fun showSun(show: Boolean): Skybox.Builder

Indicates whether the sun should be rendered. The sun can only be rendered if there is at least one light of type SUN in the Scene. The default value is false.

Return

This Builder, for chaining calls.

Parameters

main

showtrue if the sun should be rendered, false otherwise