Skip to content

LightFields beta ​

Function of @v12-engine/editor

ts
export declare function LightFields(props: {
    value: LightFieldsValue;
    onChange: (change: Partial<LightFieldsValue>) => void;
    hours?: boolean;
    class?: string;
}): import("solid-js").JSX.Element;

Every setting of a light, as fields: whether it is on, a point or a spot, its colour, how bright, how far it reaches, how much it shines, when it is on (at night, always, or between two hours where hours says so), how it flickers, a spot's cone, and which are drawn first. What is left out is shown as its default