API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceAlphaOccluderOptions
@codexo/exojs-lighting / lighting / stable
Tuning for AlphaOccluder.
3
props
0
methods
0
events
Import
import { AlphaOccluderOptions } from '@codexo/exojs-lighting'Tuning for AlphaOccluder.
Properties3
Node whose world transform places the outline. Defaults to the drawable when one was passed. A bare texture with no node sits in world space with its top-left pixel at the origin, which is only useful for a backdrop that never moves.
simplify?: numberHow far, in traced pixels, the simplified outline may drift from the traced one. 0 keeps every step of the pixel staircase, which is rarely worth its segment count. Defaults to 2.
threshold?: numberAlpha at or above which a pixel blocks light, in 0..1. Defaults to 0.5.
Source