API reference

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

I

interfaceOccluderColliderShape

@codexo/exojs-lighting / lighting / stable

The local-space geometry an occluder reads off a collider shape. Every field but `type` is present only for the kinds that have it.

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

The local-space geometry an occluder reads off a collider shape. Every field but `type` is present only for the kinds that have it.

Properties4
closed?: boolean
Whether a chain's path joins back to its start.
radius?: number
Circle and capsule radius.
type: "capsule" | "chain" | "circle" | "polygon" | "segment"
vertices?: readonly number[]
Local vertices [x0, y0, ...]: a polygon's ring, a chain's path, a segment's or capsule's two ends.
Source