AutoMovie API
    Preparing search index...

    Interface IAutoMovieInstanceVariation

    Seed-derived per-instance visual and semantic variation.

    interface IAutoMovieInstanceVariation {
        palette: string[];
        rotationDeg?: {
            x: { max: number; min: number };
            y: { max: number; min: number };
            z: { max: number; min: number };
        };
        scale: { max: number; min: number };
        scale3?: { max: IAutoMovieVector3; min: IAutoMovieVector3 };
        traits: { max: number; min: number; name: string }[];
        visibleProbability?: number;
    }
    Index
    palette: string[]

    Non-empty exact #RRGGBB sRGB swatches applied per instance; the viewer decodes them with srgbHexToLinearColor, as it does model palettes. IAutoMovieColor instead stores linear components and a derived hex label, so use the same conversion when moving a swatch into that contract.

    rotationDeg?: {
        x: { max: number; min: number };
        y: { max: number; min: number };
        z: { max: number; min: number };
    }

    Optional seeded XYZ Euler offsets in degrees, applied after facing.

    Type Declaration

    • x: { max: number; min: number }

      Inclusive finite X-axis rotation range in degrees.

      • max: number

        Upper endpoint, at least min.

      • min: number

        Lower endpoint.

    • y: { max: number; min: number }

      Inclusive finite Y-axis rotation range in degrees.

      • max: number

        Upper endpoint, at least min.

      • min: number

        Lower endpoint.

    • z: { max: number; min: number }

      Inclusive finite Z-axis rotation range in degrees.

      • max: number

        Upper endpoint, at least min.

      • min: number

        Lower endpoint.

    scale: { max: number; min: number }

    Inclusive uniform scale range, both strictly above zero.

    Type Declaration

    • max: number

      Positive upper endpoint, at least min.

    • min: number

      Positive lower endpoint.

    scale3?: { max: IAutoMovieVector3; min: IAutoMovieVector3 }

    Optional independent scale ranges per local axis.

    Type Declaration

    traits: { max: number; min: number; name: string }[]

    Named bounded numeric traits regenerated from seed and slot.

    Type Declaration

    • max: number

      Inclusive maximum.

    • min: number

      Inclusive minimum.

    • name: string

      Stable trait name unique in this set.

    visibleProbability?: number

    Seeded visibility probability in [0, 1]; omission keeps every procedural slot visible.