@cccode/fxr - v31.0.0
    Preparing search index...

    Class RandomFractionModifier<T>

    Makes a property's value randomly vary by up to a given maximum fraction from the property's base value. In other words, if p is the property's base value and max is the maximum fraction, the property's modified value will be between p - p * max and p + p * max.

    Type Parameters

    Implements

    Index

    Constructors

    Properties

    max: T
    seed: T = ...
    type: ModifierType = ModifierType.RandomFraction
    valueType: ValueTypeOfTensor<T>

    Methods