API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceOccluderMesh
@codexo/exojs-lighting / lighting / stable
What MeshOccluder reads off a mesh: a flat `(x, y)` vertex stream in local space, its triangle list, and the transform that places it. Core's `Mesh` satisfies it as it stands. So does a plain object over geometry of your own, which is the point: the outline is derived from triangles, not from a class.
2
props
1
methods
0
events
Import
import { OccluderMesh } from '@codexo/exojs-lighting'What MeshOccluder reads off a mesh: a flat `(x, y)` vertex stream in local space, its triangle list, and the transform that places it.
Core's `Mesh` satisfies it as it stands. So does a plain object over geometry of your own, which is the point: the outline is derived from triangles, not from a class.
Methods1
Properties2
indices: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike> | nullTriangle indices, or null for consecutive triples.
vertices: Float32ArraySource