setShadowCaster

actual fun setShadowCaster(instance: EntityInstance, shadowCaster: Boolean)

Dynamically enable or disable shadow casting for this light. Only directional and spot lights can cast shadows.

Parameters

instance

Light instance

shadowCaster

Whether this light casts shadows

expect fun setShadowCaster(instance: EntityInstance, shadowCaster: Boolean)

Dynamically enable or disable shadow casting for this light. Only directional and spot lights can cast shadows.

Parameters

instance

Light instance

shadowCaster

Whether this light casts shadows

actual fun setShadowCaster(instance: EntityInstance, shadowCaster: Boolean)

Dynamically enable or disable shadow casting for this light. Only directional and spot lights can cast shadows.

Parameters

instance

Light instance

shadowCaster

Whether this light casts shadows

actual fun setShadowCaster(instance: EntityInstance, shadowCaster: Boolean)

Dynamically enable or disable shadow casting for this light. Only directional and spot lights can cast shadows.

Parameters

instance

Light instance

shadowCaster

Whether this light casts shadows

actual fun setShadowCaster(instance: EntityInstance, shadowCaster: Boolean)

Dynamically enable or disable shadow casting for this light. Only directional and spot lights can cast shadows.

Parameters

instance

Light instance

shadowCaster

Whether this light casts shadows