Commit Graph

85 Commits

Author SHA1 Message Date
黄森斌 ea4f3e1700 canvasComponent objFlags add position lock (#7120) 2020-08-12 23:31:30 +08:00
pandamicro 8d142e42a9 Optimize some documents (#7092)
* Optimize some documents

* Update

* Update

* Update
2020-08-12 23:27:53 +08:00
Leslie Leigh (李的序) 9b4f0ae688 Fix typo (#7102) 2020-08-10 16:05:34 +08:00
SB c2a31b26b7 Update 2020-08-06 17:36:41 +08:00
SB f0882d6272 Optimize some documents 2020-08-06 17:23:06 +08:00
Leslie Leigh (李的序) 26df6fb1c0 Optimize editor decorators (#7002) 2020-08-05 10:36:52 +08:00
Yun Hsiao Wu afeb83e9a6 native pools (#7028) 2020-08-04 14:14:56 +08:00
Leslie Leigh (李的序) aeced26917 Solve duplicated menu issue (#6973) 2020-08-02 14:53:31 +08:00
SijieWang 0678150d85 Prevent tampering with clickEvent.componentId data (#7052) 2020-07-31 16:57:33 +08:00
Yun Hsiao Wu 2777122b1f refactor render texture (#6942) 2020-07-10 14:23:22 +08:00
pandamicro dbf4519339 Properly deprecate UI related API in Node (#6754)
* Properly deprecate UI related API in Node

* UI transform property access fix

* UI transform property access fix for widget
2020-06-23 11:44:43 +08:00
pandamicro b2830f5271 Merge remote-tracking branch 'origin/3d-v1.1.1' into 3d
# Conflicts:
#	cocos/core/3d/builtin/effects.ts
#	cocos/core/3d/framework/light-component.ts
#	cocos/core/3d/framework/model-component.ts
#	cocos/core/animation/animation-state.ts
#	cocos/core/assets/image-asset.ts
#	cocos/core/data/object.ts
#	cocos/core/event/callbacks-invoker.ts
#	cocos/core/game.ts
#	cocos/core/gfx/webgl/webgl-commands.ts
#	cocos/core/gfx/webgl2/webgl2-commands.ts
#	cocos/core/pipeline/define.ts
#	cocos/core/platform/event-manager/events.ts
#	cocos/core/primitive/primitive.ts
#	cocos/core/renderer/scene/model.ts
#	cocos/core/renderer/scene/render-scene.ts
#	cocos/core/root.ts
#	cocos/core/scene-graph/node-event-processor.ts
#	cocos/core/splash-screen-webgl.ts
#	cocos/particle/index.ts
#	cocos/terrain/terrain.ts
#	exports/base.ts
2020-06-17 14:47:36 +08:00
Yun Hsiao Wu f70f2dd6e3 move window out from GFX (#6844)
* window info accepts render pass

* move window out from GFX

* update effects

* fix formating

* match shader location to IA attributes
2020-06-12 10:56:47 +08:00
Leslie Leigh (李的序) adfdb67bb8 Eliminate cc.* log functions invocation (#6845) 2020-06-10 14:19:11 +08:00
Leslie Leigh (李的序) 7b792b42d9 Type fix for inherited CCObject.destroy() (#6847)
* Type fix for inherited CCObject.destroy()

* Fix

* Fix
2020-06-10 14:03:46 +08:00
pandamicro 845fc81fce Improve CallbacksInvoker to remove __eventTargets mechanism (#6837)
* Improve CallbacksInvoker to remove __eventTargets mechanism

* Fix return value in Eventify.once

* Use isValid to check callback target validity

* Ensure event processor destroy during node destroy

* Fix node once can't remove touch/mouse listeners issue

* Strict check to include TO_DESTROY and DESTROYED state

* Remove execute and invoke directly in emit

* Fix ci
2020-06-09 11:23:20 +08:00
SijieWang a9f3969245 Merge remote-tracking branch 'cocos-for-editor/3d-v1.1.1' into 3d
# Conflicts:
#	cocos/audio/assets/clip.ts
#	cocos/core/3d/builtin/effects.ts
#	cocos/core/3d/framework/batched-skinning-model-component.ts
#	cocos/core/3d/framework/editor-camera-component.ts
#	cocos/core/3d/framework/index.ts
#	cocos/core/3d/framework/model-component.ts
#	cocos/core/animation/animation-clip.ts
#	cocos/core/animation/animation-manager.ts
#	cocos/core/animation/animation-state.ts
#	cocos/core/animation/skeletal-animation-component.ts
#	cocos/core/animation/skeletal-animation-state.ts
#	cocos/core/assets/mesh.ts
#	cocos/core/assets/simple-texture.ts
#	cocos/core/assets/sprite-frame.ts
#	cocos/core/assets/texture-base.ts
#	cocos/core/data/class-decorator.ts
#	cocos/core/data/instantiate.ts
#	cocos/core/event/event-target.ts
#	cocos/core/game.ts
#	cocos/core/load-pipeline/CCLoader.ts
#	cocos/core/load-pipeline/plist-parser.ts
#	cocos/core/load-pipeline/unpackers.ts
#	cocos/core/load-pipeline/url.ts
#	cocos/core/math/deprecated.ts
#	cocos/core/renderer/scene/model.ts
#	cocos/core/scene-graph/base-node.ts
#	cocos/core/scene-graph/scene-globals.ts
#	cocos/terrain/terrain.ts
#	predefine.ts
2020-06-03 13:25:42 +08:00
ChiaNing 50ee04c797 compressed texture alpha channel support (#6766)
* compressed texture alpha channel support

* update
2020-05-28 13:41:50 +08:00
pandamicro a5c238dabb API translations in core (#6726)
* Add API translation for load pipeline

* Add API translation for core/data

* Fix decorator declarations

* API translation for scene graph

* Fix ci

* Fix ci

* Improve Eventify for event emit performance

* Fix ci

* improve format
2020-05-25 15:26:02 +08:00
JoneLau 53e758356a property name synchronization (#6681) 2020-05-18 17:55:33 +08:00
Leslie Leigh (李的序) 5e2adea787 Rename internal usages of global variable 'cc' into 'legacyGlobalExpo… (#6680)
* Rename internal usages of global variable 'cc' into 'legacyGlobalExports'

* Fix CI

* Rename 'legacyGlobalExports' -> 'legacyCC'
2020-05-14 15:46:45 +08:00
ChiaNing e6b0c0a738 ui-transform isHit bug fix (#6670) 2020-05-11 17:11:10 +08:00
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
黄森斌 5aaae03612 components add @help for editor show document url (#6428) 2020-03-26 18:42:08 +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
SijieWang dff521ab43 Replace Editor variable (#6189)
* Replace Editor variable

* Fixed several definition errors
2020-02-19 15:09:53 +08:00
jiaxin.lai 576be92838 rename geom-utils to geometry (#6161) 2020-02-13 10:08:57 +08:00
Jone eb00108a21 fix camera size err when use rendertexture 2020-01-19 20:11:20 +08:00
JoneLau 7e5bfd67d5 recalculate when camera is updated (#6048) 2020-01-08 12:59:54 +08:00
JoneLau 5d0506b443 fix spriteframe code behavior inconsistencies and adjust code (#6003) 2019-12-30 17:13:42 +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 12aca7d4a4 convert coordinate from 3d camera to ui (#5896) 2019-12-19 15:05:37 +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
ChiaNing 70f13f7cb6 api doc update (#5909) 2019-12-18 15:42:26 +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 797efcbf96 fixed render content flicker problem (#5881) 2019-12-11 17:10:00 +08:00
ChiaNing f764fe9fe7 init canvas Rect on preload (#5874) 2019-12-10 19:04:10 +08:00
JoneLau ad6addecf9 fix layout err when type changed (#5865) 2019-12-07 22:36:15 +08:00
pandamicro ff3bb5b332 Fix ci 2019-12-03 19:33:17 +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
ChiaNing fce470c9c9 alipay adapter & oppo adapter (#5813)
* adapter

* adapters useless remove

* bug fix

* clip getplayer

* alipay adapter update

* redefin remove

* log remove

* deprecated redefine fix

* predefine update

* AliPay console adapter

* prefab update
2019-12-02 15:34:39 +08:00
Yun Hsiao Wu f18becae28 fix main light (#5793)
* fix main light

* linter
2019-11-27 16:53:22 +08:00
JoneLau 687742f0c3 add component what 3d node convert to 2d, similar to perspective camera in 3d (#5771) 2019-11-26 11:57:05 +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