babylon.quarks - v1.0.0
    Preparing search index...

    Interface ApplyForceJSON

    The JSON of a force in a fixed direction: a ApplyForce.

    interface ApplyForceJSON {
        direction?: Vector3ArrayJSON;
        force?: ValueGeneratorJSON;
        magnitude?: ValueGeneratorJSON;
        scaleWithEmitter?: boolean;
        space?: BehaviorSpace;
        type: string;
    }

    Hierarchy (View Summary)

    Index
    direction?: Vector3ArrayJSON

    The direction, normalised when read.

    The strength, as files before magnitude named it.

    magnitude?: ValueGeneratorJSON

    The strength.

    scaleWithEmitter?: boolean

    Whether the force scales with the emitter; true when absent. Written only when false.

    The space the direction is in; 'world' when absent.

    type: string

    The behavior's type, a key of BehaviorTypes.