babylon.quarks - v0.19.0
    Preparing search index...

    Interface ValueGenerator

    startGen/genValue follow the per-particle slot pattern documented in GeneratorMemory.ts: spawn calls startGen(memory) once (claim a slot or no-op), then genValue(memory) per frame.

    interface ValueGenerator {
        type: "value";
        clone(): ValueGenerator;
        genValue(memory: any): number;
        refreshTable?(): void;
        startGen(memory: any): void;
        toJSON(): FunctionJSON;
    }

    Implemented by

    Index

    Properties

    type: "value"

    Methods

    • Parameters

      • memory: any

      Returns number

    • See FunctionValueGenerator.refreshTable.

      Returns void

    • Parameters

      • memory: any

      Returns void