threejs-worldgen
    Preparing search index...

    Interface FaunaInput

    Settings of Fauna: shared ones, then one entry per kind (its settings, or false to turn it off).

    interface FaunaInput {
        birds?: false | BirdFlocksInput;
        fish?: false | FishSchoolsInput;
        origin?: [number, number, number];
        predators?: Predator[];
        seed?: string | number;
        states?: Partial<MaterialStates>;
        [kind: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [kind: string]: unknown

      Settings of kinds added to FAUNA_KINDS.

    Index
    birds?: false | BirdFlocksInput

    Bird flocks, or false for none.

    fish?: false | FishSchoolsInput

    Fish schools, or false for none.

    origin?: [number, number, number]

    Floating origin for every kind.

    predators?: Predator[]

    Objects every kind flees from (not JSON).

    seed?: string | number

    Seed for every kind.

    states?: Partial<MaterialStates>

    Material states for every kind.