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

    Interface IProperty<T, F>

    interface IProperty<T extends Tensor, F extends PropertyFunction> {
        componentCount: number;
        fieldCount: number;
        fields: NumericalField[];
        function: F;
        valueType: ValueTypeOfTensor<T>;
        add(summand: number | T): this;
        clone(): IProperty<T, F>;
        for(game: Game): IProperty<T, F>;
        max(): T;
        min(): T;
        minify(): IProperty<T, PropertyFunction>;
        scale(factor: number | T): this;
        separateComponents(): IProperty<number, F>[];
        serialize(options?: FXRSerializeOptions): any;
        toJSON(): any;
        valueAt(arg: number): T;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    componentCount: number
    fieldCount: number
    fields: NumericalField[]
    function: F
    valueType: ValueTypeOfTensor<T>

    Methods

    • Parameters

      • summand: number | T

      Returns this

    • Parameters

      • factor: number | T

      Returns this

    • Parameters

      • arg: number

      Returns T