options | object | Render options Properties| Name | Type | Attributes | Default | Description |
|---|
background | string | <optional>
| "transparent" | Background color, such as "#FFFFFF00", "rgb(0, 0, 0)", or "transparent" | pixelRatio | number | <optional>
| devicePixelRatio | Render resolution percent, use default unless you have a reason to change it | ySort | boolean | <optional>
| false | Whether to sort the render layer of bodies by their y coordinate | parentElement | * | <optional>
| window | What the canvas element will be appended to. The canvas resizes to fit this element. Only set to window if the body has overflow: hidden, otherwise create a wrapper element. | antialias | boolean | <optional>
| true | If the render should have antialiasing | scaleMode | boolean | <optional>
| PIXI.SCALE_MODES.LINEAR | See PIXI.js scale modes | getBoundSize | function | <optional>
| function(width, height) | Function that determines the bound size, which is how big the view should be based on the canvas width and height |
|