build

actual fun build(engine: Engine, entity: Entity)

Build and attach the light component to an entity. If the entity already has a light, it is destroyed first. Supports up to 2048 lights per Engine.

Return

This Builder

Parameters

engine

Engine to associate this light with

entity

Entity to attach the light component to

expect fun build(engine: Engine, entity: Entity)

Build and attach the light component to an entity. If the entity already has a light, it is destroyed first. Supports up to 2048 lights per Engine.

Return

This Builder

Parameters

engine

Engine to associate this light with

entity

Entity to attach the light component to

actual fun build(engine: Engine, entity: Entity)

Build and attach the light component to an entity. If the entity already has a light, it is destroyed first. Supports up to 2048 lights per Engine.

Return

This Builder

Parameters

engine

Engine to associate this light with

entity

Entity to attach the light component to

actual fun build(engine: Engine, entity: Entity)

Build and attach the light component to an entity. If the entity already has a light, it is destroyed first. Supports up to 2048 lights per Engine.

Return

This Builder

Parameters

engine

Engine to associate this light with

entity

Entity to attach the light component to

actual fun build(engine: Engine, entity: Entity)

Build and attach the light component to an entity. If the entity already has a light, it is destroyed first. Supports up to 2048 lights per Engine.

Return

This Builder

Parameters

engine

Engine to associate this light with

entity

Entity to attach the light component to