@rbxts/a-plant-generator - v0.2.0
    Preparing search index...

    Interface GrowthFunction

    Named growth function that can be registered and serialized by ID.

    interface GrowthFunction {
        id: string;
        evaluate(normalizedAge: number): number;
    }
    Index
    id: string
    • Evaluates the curve for a normalized age, normally in the inclusive range 0–1.

      Parameters

      • normalizedAge: number

      Returns number