Interface DaylightAnalysisPanelParams

Constructor parameters for DaylightAnalysisPanel.

interface DaylightAnalysisPanelParams {
    container?: HTMLElement;
    initialDaysPerYear?: number;
    initialGrid?: AnalysisGrid;
    initialHoursPerDay?: number;
    initialSkyModel?: SkyModel;
    initialYear?: number;
    scene: Scene;
    storageKey?: string;
    sunStudy: SunStudy;
    visible?: boolean;
}

Properties

container?: HTMLElement
initialDaysPerYear?: number

Days sampled per year. Default 12 (monthly cadence).

initialGrid?: AnalysisGrid

Optional starting grid. When omitted, the panel auto-fits to the Scene's AABB on first mount.

initialHoursPerDay?: number

Hours sampled per day. Default 24 (hourly cadence).

initialSkyModel?: SkyModel

Initial sky-luminance model. Default "none" (direct-sun only).

initialYear?: number

Year to evaluate. Default new Date().getUTCFullYear().

scene: Scene

Scene that the analysis raycasts against for occlusion.

storageKey?: string
sunStudy: SunStudy

SunStudy whose latitude / longitude / northAngleDegrees feed every analysis run from this panel.

visible?: boolean