API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceMeshOccluderOptions
@codexo/exojs-lighting / lighting / stable
Tuning for MeshOccluder.
3
props
0
methods
0
events
Import
import { MeshOccluderOptions } from '@codexo/exojs-lighting'Tuning for MeshOccluder.
Properties3
Node whose world transform places the outline. Defaults to the mesh itself, which is what makes a moving mesh move its own shadow.
simplify?: numberHow far, in local units, the simplified outline may drift from the extracted one. 0 only drops points that lie exactly on the line between their neighbours, which is what a tessellated rectangle is full of. Defaults to 0.
weld?: numberDistance below which two vertices count as the same corner. A mesh without an index stream repeats its corners per triangle and has no shared edges until they are welded. Defaults to 1e-4.
Source