addOccluder abstract method

LightingOccluder addOccluder(
  1. LightingOccluder occluder
)

Registers a light blocker in world coordinates.

Register static geometry once (walls, tiles); moving obstacles can use the WithLightingOcclusion mixin instead.

Implementation

LightingOccluder addOccluder(LightingOccluder occluder);