Skip to content

Variable: RectAreaLightComponent

const RectAreaLightComponent: Component<{ color: { default: [number, number, number, number]; label: string; type: Color; widget: "color"; }; height: { default: number; description?: string; help?: string; label: string; max?: number; min?: number; step?: number; type: Float32; widget?: "color" | "slider" | "vector" | "text" | "select"; }; intensity: { default: number; description?: string; help?: string; label: string; max?: number; min?: number; step?: number; type: Float32; widget?: "color" | "slider" | "vector" | "text" | "select"; }; width: { default: number; description?: string; help?: string; label: string; max?: number; min?: number; step?: number; type: Float32; widget?: "color" | "slider" | "vector" | "text" | "select"; }; }>

Defined in: packages/core/src/lighting/light-components.ts:189

PBR area light emitted from a rectangle along the entity's local -Z axis.

Privacy | Terms