Type alias ObjOpt

ObjOpt: {
    anchor?: Anchor | Vec2;
    pos?: Vec2;
    rotate?: number;
    tags?: string[];
    z?: number;
}

The base options of all object makers

Type declaration

  • Optional anchor?: Anchor | Vec2

    Anchor point of the object

  • Optional pos?: Vec2

    Position of the object

  • Optional rotate?: number

    The rotation of the object

  • Optional tags?: string[]

    Tags of the object

  • Optional z?: number

    The z index of the object

Generated using TypeDoc