IgeTexturetextureThe texture to use as the background.
StringrepeatThe type of repeat mode either: "repeat", "repeat-x", "repeat-y" or "none".
BooleantrackCameraIf set to true, will track the camera translation and "move" the background with the camera.
BooleanisoTileIf true the tiles of the background will be treated as isometric and will therefore be drawn so that they are layered seamlessly in isometric view.
Returns *
Set a background pattern for this entity with 2d tiling
var texture = new IgeTexture('path/to/my/texture.png');
entity.backgroundPattern(texture, 'repeat', true, false);
Set a background pattern for this entity with isometric tiling
var texture = new IgeTexture('path/to/my/texture.png');
entity.backgroundPattern(texture, 'repeat', true, true);