Commit graph

18 commits

Author SHA1 Message Date
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
4e817497d4 Namespace fixes 2019-02-12 12:48:41 +00:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Richard Davey
f3a446797d Added new TextureCrop component 2018-07-05 13:06:28 +01:00
Richard Davey
43fc988034 Moved crop UV handler to the Frame method. Cleaner and easier. 2018-07-04 15:18:08 +01:00
Richard Davey
ee8c1b403a Fixed cropping with flipped images 2018-07-04 14:50:26 +01:00
Richard Davey
744e161d22 Added setCrop support 2018-07-03 16:48:01 +01:00
Thomas Tan
0fcfe73de1
Missed some cases 2018-05-22 16:08:44 +08:00
Thomas Tan
2c5cadc67c
Use this return type annotation 2018-05-22 12:46:26 +08:00
Richard Davey
6d958c5157 jsdoc udpate 2018-04-23 23:39:24 +01:00
orblazer
87633fdfad Fix multiple types on GameObjects 2018-03-20 15:56:31 +01:00
Richard Davey
0368473b95 The SetFrame method now has two optional arguments: updateSize and updateOrigin (both true by default) which will update the size and origin of the Game Object respectively. Fix #3339 2018-03-12 14:45:18 +00:00
Richard Davey
4de9690f98 The setFrame method of the Texture component has been updated so that it will now automatically reset the width and height of a Game Object to match that of the new Frame. Related, it will also adjust the display origin values, because they are size based. If the Frame has a custom pivot it will set the origin to match the custom pivot instead. 2018-03-02 16:23:43 +00:00
Richard Davey
d1f5f8a82b Added jsdocs 2018-02-12 16:01:21 +00:00
Richard Davey
3422569a4a setFrame will use a custom pivot, if set. 2018-02-09 15:21:39 +00:00
Richard Davey
9e8ee078e8 Fixed mixin jsdoc defs 2018-02-01 01:36:52 +00:00
Richard Davey
a506fcc3ac Added jsdocs 2018-02-01 01:09:34 +00:00
Richard Davey
d8f1ba03e9 Moved repository location 2018-01-09 21:43:56 +00:00
Renamed from v3/src/gameobjects/components/Texture.js (Browse further)