Commit Graph

72 Commits

Author SHA1 Message Date
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
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
ChiaNing b7606ef2fc node event TRS remove (#5750)
* node event TRS remove

* transformBit  rename & deprecated

* notice update
2019-11-20 16:07:50 +08:00
pandamicro a860762053 Fix ci 2019-11-19 18:37:36 +08:00
pandamicro f85b7bf7e5 Merge branch '3d-v1.0.2' into 3d
# Conflicts:
#	cocos/core/components/ui-base/ui-render-component.ts
#	cocos/core/components/ui-base/ui-transform-component.ts
#	cocos/core/scene-graph/base-node.ts
#	cocos/terrain/terrain.ts
2019-11-19 18:28:54 +08:00
JoneLau 4638caecb0 fix name err (#5726) 2019-11-13 15:50:44 +08:00
zheng han c8dcceefe4 public InEditor Function (#5708) 2019-11-08 15:03:08 +08:00
ftershock fc359c8a7a add tooltip (#5663)
* Add tooltip

* add tooltip

* update spriteatlas

* add changeSpriteFrameFromAtlas
2019-11-06 18:30:12 +08:00
JoneLau 040bb73075 add ui static batch (#5644) 2019-11-01 16:37:17 +08:00
zheng han c761b408dc add editorExtends for node and component (#5659)
* add editorExtends for node and component

* remove CC_TEST
2019-11-01 10:43:18 +08:00
ChiaNing 983c6f8e4d SpriteComponent Gray Mode add (#5652)
* ScriptComponent Gray Mode add

* name change
2019-10-30 19:26:25 +08:00
Yun Hsiao Wu e337ae33d9 one material instance for all kinds of models (#5608)
* one material instance for all kinds of models

* better pass organization

* linter fix & more opt TODOs

* PSOs store their hashes from now on

* store string pass phase

* fix sampler cache

* optimize pass resource init proc

* audio context compat improv
2019-10-28 16:09:39 +08:00
pandamicro 0e9567b5e3 Forbidden adding component to scene (#5622)
* Fix typo in event listener

* Fix Scheduler.schedule parameter issue

* Move event processing from Node to BaseNode

* Scene inherit from BaseNode instead of Node

* Forbidden adding component to scene
2019-10-25 19:02:42 +08:00
JoneLau 61331869a7 fix ui sort err in wx (#5620) 2019-10-25 16:48:01 +08:00
JoneLau edbbea92dd add wx subcontextview (#5583) 2019-10-23 13:52:00 +08:00