Skip to content

CastsHook beta ​

TypeAlias of @v12-engine/render

ts
export type CastsHook = (caster: Caster) => boolean | undefined;

Whether a thing casts its shadow, in code, over what the culling says (Caster.kept): nothing as it says