mirror of
https://github.com/photonstorm/phaser
synced 2024-12-24 03:53:28 +00:00
1 line
No EOL
1.4 KiB
JSON
Executable file
1 line
No EOL
1.4 KiB
JSON
Executable file
{"class":{"name":"PIXI.SpriteBatch","extends":"","static":false,"constructor":true,"parameters":[{"name":"texture","type":["PIXI.Texture"],"help":"","optional":false,"default":null}],"help":"The SpriteBatch class is a really fast version of the DisplayObjectContainer\\nbuilt solely for speed, so use when you need a lot of sprites or particles.\\nAnd it's extremely easy to use :\\n\\nvar container = new PIXI.SpriteBatch();\\n\\nstage.addChild(container);\\n\\nfor(var i = 0; i < 100; i++)\\n{\\nvar sprite = new PIXI.Sprite.fromImage(\"myImage.png\");\\ncontainer.addChild(sprite);\\n}\\nAnd here you have a hundred sprites that will be renderer at the speed of light"},"consts":[],"methods":{"public":[],"protected":[],"private":[{"name":"_renderCanvas","static":false,"returns":null,"help":"Renders the object using the Canvas renderer","line":97,"public":false,"protected":false,"private":true,"parameters":[{"name":"renderSession","type":["PIXI.RenderSession"],"help":"","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"_renderWebGL","static":false,"returns":null,"help":"Renders the object using the WebGL renderer","line":73,"public":false,"protected":false,"private":true,"parameters":[{"name":"renderSession","type":["PIXI.RenderSession"],"help":"","optional":false,"default":null}],"inherited":false,"inheritedFrom":""}],"static":[]},"properties":{"public":[],"protected":[],"private":[]}} |