Skip to main content

ConeLightComponentOptions

Hierarchy

Index

Properties

optionalangle

angle?: number

Total angle arc of the wedge in radians. Default Math.PI / 3

optionalinheritedcolor

color?: Color

Color of the light. Non-white colors are painted as an additive tint. Default Color.White

optionaldirection

direction?: number

World-space heading angle in radians (0 = Right). Default 0

optionalinheritedenabled

enabled?: boolean

Default true

optionalinheritedflicker

flicker?: FlickerOptions

Optional flicker animation applied by the FlickerSystem

optionalinheritedintensity

intensity?: number

Base intensity of the light (0.0 to 1.0). Default 1.0

optionalradius

radius?: number

Radius of the light in world pixels. Default 200

optionalsoftness

softness?: number

Edge smoothing ratio. 0.0 represents hard cuts, 1.0 represents full dissipation. Default 0.25