LightConeOptions
Defined in: lighting/src/types.ts:26
A spotlight cone on a LightSource.
Properties
Section titled “Properties”angle:
number
Defined in: lighting/src/types.ts:31
Full spread in radians, above 0 and at most a whole turn. The cone points along the entity’s world rotation.
softness?
Section titled “softness?”
optionalsoftness?:number
Defined in: lighting/src/types.ts:37
Share of the spread the light fades across at the cone’s edge, from 0 to
- Default
0, a cone that ends on a line. A whole-turn cone reaches every direction, so softness does nothing to it.
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/lighting.md.