Back to Filament

getLightChannel

docs/android/dokka/filament-android/com.google.android.filament/-renderable-manager/get-light-channel.md

1.75.0798 B
Original Source

//filament-android/com.google.android.filament/RenderableManager/getLightChannel

getLightChannel

[main]
open fun getLightChannel(i: Int, channel: Int): Boolean

Returns whether a light channel is enabled on a specified renderable.

Return

true if the light channel is enabled, false otherwise

Parameters

main

iInstance of the component obtained from getInstance().
channelLight channel to query