API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
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
accept?: (collider: OccluderColliderWhat PhysicsOccluder reads off one collider.) => booleanFinal say on whether a collider occludes, after the options above have had theirs.
circleSegments?: numberEdges a circle, or one cap of a capsule, is approximated with. Defaults to 12.
sensors?: booleanInclude sensor colliders. A sensor is a trigger volume, not a wall. Defaults to false.
staticOnly?: booleanRestrict to colliders on static bodies. Level geometry is static, and a dynamic body rebuilds the occluder field wherever it moves. Defaults to true.
Source