API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceOccluderPhysicsWorld
@codexo/exojs-lighting / lighting / stable
What PhysicsOccluder needs of a physics world: an AABB query over its live colliders. Structural on purpose. `@codexo/exojs-physics` satisfies it as it stands, and this package does not depend on it, so a project without physics pulls none of it in and a project with a collision layer of its own can still feed shadows from it.
0
props
1
methods
0
events
Import
import { OccluderPhysicsWorld } from '@codexo/exojs-lighting'What PhysicsOccluder needs of a physics world: an AABB query over its live colliders.
Structural on purpose. `@codexo/exojs-physics` satisfies it as it stands, and this package does not depend on it, so a project without physics pulls none of it in and a project with a collision layer of its own can still feed shadows from it.
Methods1
forEachAabbHit(bounds: AabbLikeStructural type for an axis-aligned bounding box given as min/max extents. This is the canonical AABB contract across the engine and its packages - broad phase…, filter: undefined, callback: (collider: OccluderColliderWhat PhysicsOccluder reads off one collider.) => void): voidSource