Commit Graph

160 Commits

Author SHA1 Message Date
Yun Hsiao Wu b134b8db10 node shearing support & detail improve (#5078)
* joints texture free interface

* better socket interaction

* workaround UBO size align bug

* better socket query

* fix playground

* node transform include shearing now

* finer dirty mechanism for node
2019-08-05 10:13:39 +08:00
ChiaNing 9da70cce0b math function add (#5076)
* math function add

* rebase
2019-08-05 09:44:25 +08:00
JoneLau 0cb8509e95 ui code adjust (#5008) 2019-08-02 18:34:27 +08:00
JoneLau 0659ffb01a fix rendertexture bug and add rendertexture in canvascomponent (#5072) 2019-08-02 18:22:49 +08:00
JoneLau 3d5f8fc278 support rendertexture asset (#5050)
* cherry pick (#4833)

* support rendertexture asset
2019-08-01 18:07:34 +08:00
ChiaNing 172e291e53 new file API add (#5049) 2019-08-01 17:02:28 +08:00
ChiaNing a3ed39df86 math function abbreviation delete (#5041)
* math funtion abbreviation delete

* magnitude change
2019-08-01 14:25:39 +08:00
JoneLau 2cac4677b9 override proprety in pageviewcomponent (#5009) 2019-07-30 14:45:24 +08:00
JoneLau 4bcb230d23 add pageview (#4980) 2019-07-30 11:02:43 +08:00
ChiaNing 4bc2739786 Vmath (#4987)
* Vmath (#4895)

* vmath refactor

* value-type API change

* vmath change update

* conflict fix

* value types change

* translate modify (#4917)

* value types bug fixed (#4940)

* playground update (#4946)

* bug fixed

* bug fixed

* bug fixed

* bug fix

* util modify

* create remove & ccenum rename

* export by cc.math

* Rename value-types to math

* util funtion deprecated warn

* value-types change

* color test fix

* color API change
2019-07-29 11:50:51 +08:00
jiaxin.lai 16f19bca53 fix scroll view missing import node (#4999) 2019-07-28 15:32:24 +08:00
jiaxin.lai c0cccd08f9 using Node instead of cc.Node (#4998) 2019-07-26 18:17:57 +08:00
jiaxin.lai faa7094cf8 add some typing to interface of INode (#4984)
* add some typing to interface of INode

* fix INode childern typing

* add Mutable type, for change Readonly type

* decouple node with ui relative component

* add missed ui component, and decouple node

* add more typing to IBaseNode and INode
2019-07-26 17:56:55 +08:00
jiaxin.lai e6eac2776d fix misc export (#4981)
* fix misc export

* Fix misc function import

* remove clampf、clamp01、lerp、degreesTORadians、radiansTODegrees wrapper
2019-07-26 13:57:42 +08:00
pandamicro 1380e46c34 Unittest (#4973)
* unit test for ts

* Fix ts-jest warnings

* Remove puppeteer for now

* fix physics define and jest config for windows

* Replace Node ref with INode ref

* Fix ci issue

* Fix

* tweak

* tweak

* Fix vscode launcher

* now physics framework export all physics component (#28)

* tweaks
2019-07-25 17:15:20 +08:00
JoneLau 236f7290b6 fix the deletion error of rendered data when the ui node is deleted (#4960) 2019-07-24 15:26:31 +08:00
JoneLau 6cd4d39ee5 fix graphics clear bug and mask caculation in onEnable (#4943) 2019-07-23 13:07:37 +08:00
yinkaile 345ee7ed85 3d v1.0.0 (#4929)
* refine node.updateWorldTransform

* refine sprite simple assembler
2019-07-20 16:50:26 +08:00
pandamicro b1ec962a9b Remove reorder logic during walk (#4926)
* Move _uiComp from base-node to node

* Do not reorder during walk, reorder within ui component

* tweaks
2019-07-20 16:06:58 +08:00
pandamicro 2763dfc060 Remove 'for of' for array and add node._uiComp for caching (#4923) 2019-07-20 14:17:46 +08:00
JoneLau 85ac9692fd revert depth test in model (#4898) 2019-07-17 16:26:07 +08:00
Weiliang Wang f189f9fc00 remove fuzzy comparison of floating uniform (#4871)
* remove fuzzy comparison of floating uniform

* remove constget import
2019-07-12 14:46:56 +08:00
JoneLau 98bb7b0571 add reorder component for ui node (#4867) 2019-07-12 13:24:12 +08:00
JoneLau 4f72cd8f6e fix model and particle render are not affected by priority on ui (#4857) 2019-07-11 11:23:27 +08:00
Weiliang Wang f3f4745d80 remove @constget (#4860) 2019-07-11 11:13:15 +08:00
JoneLau 255141f3a6 cancel button executeineditor (#4854) 2019-07-10 16:56:53 +08:00
JoneLau 6b1b79cc12 replace example (#4846) 2019-07-09 18:10:37 +08:00
JoneLau 683b8919f0 fix webgl warning when label width is zero (#4829) 2019-07-08 14:02:26 +08:00
JoneLau a80c766ed0 fix bug (#4813)
1. the mode was trimmed and sprite does not take effect
2. add a tip when ui-model-component does not have modelcomponent
2019-07-04 14:55:20 +08:00
JoneLau 0d2cabe1db fix widget not update in anchor changed (#4806) 2019-07-04 10:12:57 +08:00
ChiaNing 00c904d6cb api-doc modfiy (#4803) 2019-07-03 16:07:49 +08:00
pandamicro e66f54cfd1 ValueTypes: remove out parameter for class functions (#4799) 2019-07-03 11:27:54 +08:00
pandamicro ec9e639293 Refactor valuetypes (#4798)
* Some value-types change

* value-type change

* Refactor valuetypes
2019-07-03 09:31:43 +08:00
Weiliang Wang 0e3b425d89 modify Color & Mat4 interfaces (#4797) 2019-07-03 02:46:50 +08:00
Yun Hsiao Wu b995626f0c missing sampler & circular ref issue (#4787)
* fix missing sampler issue

* fix references
2019-07-02 11:18:22 +08:00
JoneLau 87036c4660 add constget to the valuetype in the component (link: 4733) (#4769) 2019-07-01 18:24:28 +08:00
JoneLau d159a539b2 avoid serialization data loss when in no-sprite mode (#4756) 2019-07-01 09:41:06 +08:00
JoneLau f2f9514aa3 fix widget bug (#4749)
* fix widget bug

* fix circle
2019-07-01 09:35:53 +08:00
JoneLau 366d46ba99 protect ui render component (#4760) 2019-07-01 09:35:24 +08:00
ChiaNing 9b3858a3e7 API-Doc format modify (#4761) 2019-07-01 09:33:24 +08:00
Yun Hsiao Wu 257f966bd3 fix pass & GL constants Changelog: * (#4762)
* fix material props when using pass switches

* don't rely on WebGLRenderingContext static constants

* skybox precision
2019-07-01 09:31:37 +08:00
zxg0622 b540c3d728 fix particle lag (#4718) (#4743)
* fix particle lag

* fix model recreate pso on enable

* change value-type lerp interface

* change value-type lerp to static

* fix model not rendered at persistent node
2019-06-28 10:26:28 +08:00
Weiliang Wang d6fb2dc72b Revert "add constget to the valuetype in the component (#4733)" (#4739)
This reverts commit fb35719387.
2019-06-27 18:31:41 +08:00
JoneLau fb35719387 add constget to the valuetype in the component (#4733) 2019-06-27 17:57:08 +08:00
JoneLau 2b56b8c37b adjust core to avoid babel packing errors (#4731) 2019-06-27 17:56:54 +08:00
JoneLau 67e264c995 ui layout api (#4707) 2019-06-27 09:52:13 +08:00
JoneLau 4aa55fa055 fix does not display bug under conditional activation (#4711) 2019-06-26 09:55:48 +08:00
zxg0622 b1fa01f118 fix ui particle error & add module api doc (#4684) (#4685) 2019-06-24 19:06:02 +08:00
JoneLau 25b11e9d78 fix widget bug and add switch in px to persent (#4667) 2019-06-21 17:56:42 +08:00
ChiaNing 408cc6f930 Copyright Notice format change (#4665) 2019-06-21 09:34:05 +08:00