API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfacePhysicsOccluderOptions

@codexo/exojs-lighting / lighting / stable

Tuning for PhysicsOccluder.

4
props
0
methods
0
events
Import
import { PhysicsOccluderOptions } from '@codexo/exojs-lighting'

Tuning for PhysicsOccluder.

Properties4
Final say on whether a collider occludes, after the options above have had theirs.
circleSegments?: number
Edges a circle, or one cap of a capsule, is approximated with. Defaults to 12.
sensors?: boolean
Include sensor colliders. A sensor is a trigger volume, not a wall. Defaults to false.
staticOnly?: boolean
Restrict to colliders on static bodies. Level geometry is static, and a dynamic body rebuilds the occluder field wherever it moves. Defaults to true.
Source