You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/loader/Cache.js
+25-3Lines changed: 25 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -569,14 +569,15 @@ Phaser.Cache.prototype = {
569
569
},
570
570
571
571
/**
572
-
* Get a physics data object from the cache by its key. You can get either the entire data set or just a single object from it.
572
+
* Get a physics data object from the cache by its key. You can get either the entire data set, a single object or a single fixture of an object from it.
573
573
*
574
574
* @method Phaser.Cache#getPhysicsData
575
575
* @param {string} key - Asset key of the physics data object to retrieve from the Cache.
576
576
* @param {string} [object=null] - If specified it will return just the physics object that is part of the given key, if null it will return them all.
577
+
* @param {string} fixtureKey - Fixture key of fixture inside an object. This key can be set per fixture with the Phaser Exporter.
577
578
* @return {object} The requested physics object data if found.
0 commit comments