Skip to main content

Interface: InstancedEntityOptions

Hierarchy​

Properties​

lightAt​

• Optional lightAt: (position: Vector3) => Color

The light an instance standing at a point is shaded with (multiplier for its albedo). LightShined.lightAt fits; instances stay at the pool's white default when this is unset.

Type declaration​

▸ (position): Color

Parameters​
NameType
positionVector3
Returns​

Color


lightIntervalFrames​

• Optional lightIntervalFrames: number

Frames between light samples (staggered per entity). Defaults to 3.


world​

• Optional world: World<any>