Type Alias: SpotLight
type SpotLight = {
cutoff: Float;
IESProfile: AssetRef<Texture>;
};
Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:1045
Adds a cone cutoff to a light, producing a spotlight. Requires a Point Light component for color/intensity and falloff.
Properties
cutoff
cutoff: Float;
Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:1050
Outer cone half-angle in degrees. Light intensity falls to zero outside this angle.
Default Value
30;
IESProfile
IESProfile: AssetRef<Texture>;
Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:1054
Optional IES photometric profile (2D texture). Modulates emitted intensity by direction; leave empty for uniform distribution.