AutoMovie API
    Preparing search index...

    Interface IAutoMovieLightChannelProperty

    One supported light axis joins track type/bounds, kind admission, optional whole-vector validation and sparse override writing. The canonical property table supplies the implementations, while staged-kind validity and sample width are caller admission preconditions.

    interface IAutoMovieLightChannelProperty {
        bounds: { inclusiveMin: boolean; max: number; min: number };
        carries: (kind: unknown) => boolean;
        valueFault?: (value: readonly unknown[]) => string | null;
        valueType: AutoMovieChannelValueType;
        write: (
            override: IAutoMovieLightOverride,
            value: readonly number[],
        ) => void;
    }
    Index
    bounds: { inclusiveMin: boolean; max: number; min: number }

    Per-component keyframe bounds shared by scene admission and playback semantics; positive-only axes use exclusive min.

    Type Declaration

    • inclusiveMin: boolean

      Whether min itself is allowed (false for the spot cone).

    • max: number

      Upper bound, Infinity for none.

    • min: number

      Lower bound.

    carries: (kind: unknown) => boolean

    Whether the admitted light kind carries this axis; the gate checks it before allowing a track to reach the writer.

    valueFault?: (value: readonly unknown[]) => string | null

    Optional whole-vector fault text, or null when valid. Rotation uses this for unit norm; scalar/color axes need only component bounds.

    Track value discriminator; sampleClip owns the corresponding component width and rejects mismatched payloads.

    write: (override: IAutoMovieLightOverride, value: readonly number[]) => void

    Write an admitted, correctly sized numeric sample into the sparse override. Kind admission and track width are caller preconditions.