getLightChannel

actual fun getLightChannel(instance: EntityInstance, channel: Int): Boolean

Returns whether a light channel is enabled on this renderable.

Return

true if the light channel is enabled, false otherwise

Parameters

instance

Instance of the component obtained from getInstance()

channel

Light channel to query

expect fun getLightChannel(instance: EntityInstance, channel: Int): Boolean

Returns whether a light channel is enabled on this renderable.

Return

true if the light channel is enabled, false otherwise

Parameters

instance

Instance of the component obtained from getInstance()

channel

Light channel to query

actual fun getLightChannel(instance: EntityInstance, channel: Int): Boolean

Returns whether a light channel is enabled on this renderable.

Return

true if the light channel is enabled, false otherwise

Parameters

instance

Instance of the component obtained from getInstance()

channel

Light channel to query

actual fun getLightChannel(instance: EntityInstance, channel: Int): Boolean

Returns whether a light channel is enabled on this renderable.

Return

true if the light channel is enabled, false otherwise

Parameters

instance

Instance of the component obtained from getInstance()

channel

Light channel to query

actual fun getLightChannel(instance: EntityInstance, channel: Int): Boolean

Returns whether a light channel is enabled on this renderable.

Return

true if the light channel is enabled, false otherwise

Parameters

instance

Instance of the component obtained from getInstance()

channel

Light channel to query