phaser - v4.0.0-rc.4
    Preparing search index...
    type MatterTileOptions = {
        addToWorld?: boolean;
        body?: MatterJS.BodyType;
        isStatic?: boolean;
    }
    Index

    Properties

    addToWorld?: boolean

    Whether or not to add the newly created body (or existing body if options.body is used) to the Matter world.

    An existing Matter body to be used instead of creating a new one.

    isStatic?: boolean

    Whether or not the newly created body should be made static. This defaults to true since typically tiles should not be moved.