mirror of
https://github.com/photonstorm/phaser
synced 2024-12-22 19:13:37 +00:00
1 line
No EOL
1.9 KiB
JSON
1 line
No EOL
1.9 KiB
JSON
{"class":{"name":"PIXI.SpineLoader","extends":"","static":false,"constructor":true,"parameters":[{"name":"url","type":["string"],"help":"The url of the JSON file","optional":false,"default":null},{"name":"crossorigin","type":["boolean"],"help":"Whether requests should be treated as crossorigin","optional":false,"default":null}],"help":"The Spine loader is used to load in JSON spine data\\nTo generate the data you need to use http:\/\/esotericsoftware.com\/ and export in the \"JSON\" format\\nDue to a clash of names You will need to change the extension of the spine file from *.json to *.anim for it to load\\nSee example 12 (http:\/\/www.goodboydigital.com\/pixijs\/examples\/12\/) to see a working example and check out the source\\nYou will need to generate a sprite sheet to accompany the spine data\\nWhen loaded this class will dispatch a \"loaded\" event"},"consts":[],"methods":{"public":[{"name":"load","static":false,"returns":null,"help":"Loads the JSON data","line":61,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""}],"protected":[],"private":[{"name":"onLoaded","static":false,"returns":null,"help":"Invoked when JSON file is loaded.","line":78,"public":false,"protected":false,"private":true,"parameters":[],"inherited":false,"inheritedFrom":""}],"static":[]},"properties":{"public":[{"name":"crossorigin","type":["boolean"],"help":"Whether the requests should be treated as cross origin","inlineHelp":"","line":40,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"loaded","type":["boolean"],"help":"[read-only] Whether the data has loaded yet","inlineHelp":"","line":49,"default":null,"public":true,"protected":false,"private":false,"readOnly":true},{"name":"url","type":["string"],"help":"The url of the bitmap font data","inlineHelp":"","line":32,"default":null,"public":true,"protected":false,"private":false,"readOnly":false}],"protected":[],"private":[]}} |