setLightChannel

actual fun setLightChannel(instance: EntityInstance, channel: Int, enable: Boolean)

Enables or disables a light channel for this renderable. Light channel 0 is enabled by default.

Parameters

instance

Instance of the component obtained from getInstance()

channel

light channel to enable or disable, between 0 and 7

enable

whether to enable the light channel

See also

expect fun setLightChannel(instance: EntityInstance, channel: Int, enable: Boolean)

Enables or disables a light channel for this renderable. Light channel 0 is enabled by default.

Parameters

instance

Instance of the component obtained from getInstance()

channel

light channel to enable or disable, between 0 and 7

enable

whether to enable the light channel

See also

actual fun setLightChannel(instance: EntityInstance, channel: Int, enable: Boolean)

Enables or disables a light channel for this renderable. Light channel 0 is enabled by default.

Parameters

instance

Instance of the component obtained from getInstance()

channel

light channel to enable or disable, between 0 and 7

enable

whether to enable the light channel

See also

actual fun setLightChannel(instance: EntityInstance, channel: Int, enable: Boolean)

Enables or disables a light channel for this renderable. Light channel 0 is enabled by default.

Parameters

instance

Instance of the component obtained from getInstance()

channel

light channel to enable or disable, between 0 and 7

enable

whether to enable the light channel

See also

actual fun setLightChannel(instance: EntityInstance, channel: Int, enable: Boolean)

Enables or disables a light channel for this renderable. Light channel 0 is enabled by default.

Parameters

instance

Instance of the component obtained from getInstance()

channel

light channel to enable or disable, between 0 and 7

enable

whether to enable the light channel

See also