phaser - v4.0.0-rc.4
    Preparing search index...

    Interface Gravity

    The Matter.Vector module contains methods for creating and manipulating vectors. Vectors are the basis of all the geometry related operations in the engine. A Matter.Vector object is of the form { x: 0, y: 0 }.

    See the included usage examples.

    Vector

    interface Gravity {
        scale: number;
        x: number;
        y: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    scale: number
    x: number
    y: number