Commit Graph

84 Commits

Author SHA1 Message Date
pandamicro 276a7f200a Partial API translation for core and related tweaks (#6534)
* Event api translation

* Event manager API translation

* Macro cleanup and API doc improve

* Code cleanup and API translation in core/platform,

* Use macro.ENABLE_WEBGL_ANTIALIAS for initialization

* tweak

* Improve singleton ref in view

* Fix ci

* Export sys without default
2020-04-16 11:38:24 +08:00
ChiaNing 8c41b79aec label baseline add (#6526)
* label baseline add

* baseline change in runtime
2020-04-15 17:55:11 +08:00
JoneLau 61a5a07051 fixed a bug where clicking to change color did not work (#6558)
Fixed bug where you could click to directly modify the “_val” property of color and skip detection of UI rendering data changes
2020-04-15 17:43:46 +08:00
King Wang 3ceb44b347 Mask isHit issue when type===GRAPHICS_STENCIL (#6548) 2020-04-15 17:42:23 +08:00
JoneLau 0a9c63b6d5 fix infinite loop in richtext (#6435) 2020-03-30 14:09:53 +08:00
黄森斌 5aaae03612 components add @help for editor show document url (#6428) 2020-03-26 18:42:08 +08:00
ChiaNing 644218fd09 Sprite Frame change (#6336)
* sprite-frame change

* spriteframe update

* set texture fix

* can render fix

* spriteframe textureLoaded fix

* update

* update

* texture loaded update

* refresh texture add

* format fix
2020-03-20 19:37:50 +08:00
Leslie Leigh (李的序) 284aa38d25 Build time constants (#6256)
* consts

* Bump @cocos/build-engine version

* Fix

* Upload @cocos/build-engine

* Rm scripts/build-engine/.gitignore
2020-03-11 14:05:22 +08:00
JoneLau 1d03fa2ede complement the 3D UI API (#6172)
* complement the 3D UI API

* updated
2020-02-28 12:39:18 +08:00
pandamicro b44dcc1115 Merge pull request #6220 from cocos-creator/3d-v1.0.4
Merge 3d v1.0.4
2020-02-25 10:12:28 +08:00
JoneLau f1c142b7d2 fixed error caused rollback not stop (#6202) 2020-02-24 18:33:43 +08:00
ChiaNing b07d91cf98 widget alignMode add (#6187) 2020-02-21 10:22:11 +08:00
JoneLau 1c6c605cc6 fix label bug (#6165)
* fix label bug

1. fixed no rendering with labelComponent cachemode in char mode

2. fixed no updating when anchor changed  in richtextcomponent

* updated
2020-02-16 10:34:09 +08:00
JoneLau 227ed29a88 fix scrollview event when scroll to bottom and drag rotation problem (#6150) 2020-02-12 18:56:50 +08:00
ChiaNing 5f2f153ebc api doc update (#6130) 2020-02-08 23:44:36 +08:00
JoneLau c7cf4f0c2d fix editbox eventtype and remove unless code (#6044) 2020-01-08 12:56:31 +08:00
JoneLau 44a6229834 adjust code prompt (#6049) 2020-01-08 12:51:47 +08:00
JoneLau 2f22deca33 fix wrong spelling and remove repeat code (#6030) 2020-01-04 14:47:54 +08:00
JoneLau 2a068b2720 update material api in uiModel (#6007) 2019-12-31 09:59:22 +08:00
JoneLau 1d09097b41 migrate editbox from creator (#5992) 2019-12-28 15:57:42 +08:00
JoneLau 098e72b8c9 fix bad usage in label canvas pool (#5984) 2019-12-27 21:41:49 +08:00
JoneLau d78c914b71 fix cannot set property color of graphics which has only a getter (#5972) 2019-12-26 18:12:22 +08:00
JoneLau 077cc5e5bc support invert mask (#5961)
* support invert mask

* fix bug

1. fix stencil no effect in material instance
2. fix the value of hit area
2019-12-26 17:31:22 +08:00
pandamicro 7a26eb2150 Merge pull request #5973 from cocos-creator/3d-v1.0.2
Merge 3d-v1.0.2 to 3d
2019-12-26 15:53:06 +08:00
JoneLau 24c849ea52 fix elastic failure (#5958) 2019-12-26 14:32:16 +08:00
zxg0622 39a7fbdd89 refactor material instance (#5910)
* refactor material instance

* revert setMaterial signature

* fix some defects

* material instance using inheritance (#5)

* material instance using inheritance

* renderable component

* more fixes (#6)

* more fixes

* minor

* fix some defects

* fix batching (#7)

* better format (#8)

* fix

* fix batching & skybox (#9)

* fix skinning (#10)

* change sharedMaterial decorator

* add modelcomponent property deprecated

Co-authored-by: Yun Hsiao Wu <inheritorofgalaxy@gmail.com>
2019-12-25 17:41:04 +08:00
JoneLau 7fc9bdefc0 add file of additional properties and transparency downward (#5948)
* add file of additional properties and transparency downward

* remove unless function
2019-12-23 23:46:59 +08:00
JoneLau 5de46c1ede auto require uitransform (#5925) 2019-12-20 16:04:57 +08:00
JoneLau dfd752b8ce add compEventType in component (#5894) 2019-12-19 15:00:11 +08:00
Leslie Leigh (李的序) 86636442cf Kill INode & IBaseNode (#5893)
* Remove INode, IBaseNode

* Fix

* Fix types error

* Update
2019-12-19 14:17:14 +08:00
JoneLau 18acba1d0e fixed image gap in scrollview (#5911) 2019-12-18 21:26:56 +08:00
Leslie Leigh (李的序) cdaa8e3c3a Typo correctness for some UI files (#5845) 2019-12-18 21:26:31 +08:00
JoneLau aa8e38b05c support for graphics mask (#5913) 2019-12-18 15:58:31 +08:00
ChiaNing 70f13f7cb6 api doc update (#5909) 2019-12-18 15:42:26 +08:00
JoneLau 3334b78d36 adjust ui-static-batch-component interface (#5891) 2019-12-12 19:21:17 +08:00
JoneLau a7115f18d3 fix spelling mistakes and wrong format (#5888) 2019-12-12 18:39:54 +08:00
pandamicro 3bffb3f48a Merge remote-tracking branch 'origin/3d' into 3d-v1.0.2
# Conflicts:
#	cocos/core/pipeline/render-view.ts
2019-12-12 16:59:17 +08:00
JoneLau 6e0957c3be modify api and add operation of clear in ui-static-component (#5855) 2019-12-09 11:44:47 +08:00
JoneLau ad6addecf9 fix layout err when type changed (#5865) 2019-12-07 22:36:15 +08:00
zxg0622 1c7c5f4d75 fix renderpipeline bug & some defects (#5843) 2019-12-05 15:22:52 +08:00
pandamicro 802d7a9b49 Merge branch '3d-v1.0.2' into 3d
# Conflicts:
#	cocos/core/components/ui-base/canvas-component.ts
#	cocos/core/components/ui-base/ui-render-component.ts
#	cocos/core/game.ts
#	cocos/core/pipeline/forward/forward-pipeline.ts
#	cocos/core/pipeline/render-flow.ts
#	cocos/core/pipeline/render-pipeline.ts
#	cocos/core/root.ts
#	cocos/core/scene-graph/base-node.ts
2019-12-03 19:23:26 +08:00
JoneLau 6f54d39a29 fix mask in new model structure (#5801) 2019-12-02 19:01:48 +08:00
JoneLau b92d852e73 fix buffer overflow in ui static component (#5775) 2019-11-29 13:46:47 +08:00
JoneLau 64e131795d align pos when horizontal or vertical (#5788) 2019-11-29 13:45:05 +08:00
zxg0622 dda6f56b79 change particle rendermode defines & adapt line billboard to new renderscene interface (#5806) 2019-11-29 13:43:03 +08:00
zxg0622 53ed7da2db fix render scene error (#5790) 2019-11-26 15:04:16 +08:00
JoneLau 14bcb2e49e add tiled mode in spritecomponent (#5784) 2019-11-26 13:48:29 +08:00
JoneLau e4f0efd2cc remove uicomponent's priority to uitransform and canvas sort in event (#5762) 2019-11-26 10:02:01 +08:00
zxg0622 cda23e5c14 refactor model allocation logic (#5689)
* refactor model allocation logic

* fix ts null check

* fix particle system decorator
2019-11-23 18:28:28 +08:00
ChiaNing b7606ef2fc node event TRS remove (#5750)
* node event TRS remove

* transformBit  rename & deprecated

* notice update
2019-11-20 16:07:50 +08:00