Commit Graph

125 Commits

Author SHA1 Message Date
minggo a6bf766170 Merge branch 'v3.5.0' into v3.6_merge_v3.5 2022-03-29 18:26:40 +08:00
Leslie Leigh (李的序) 9e46834765 Category description (#10544)
* Category description

* Update
2022-03-28 17:53:45 +08:00
pandamicro f4aa81d88e Fix vec3 & vec4 transformAffine (#10508) 2022-03-26 19:23:41 +08:00
Leslie Leigh (李的序) 16253687b9 Handle legacyPublic in API doc (#10456)
* Handle legacy public

* Update
2022-03-23 14:26:27 +08:00
Santy-Wang ab82e1b42d remove hidden (#10414)
* remove hidden

* fix typo

* fix unit-test

* turn on auto fix
2022-03-22 15:11:16 +08:00
Leslie Leigh (李的序) 466d4cf1f9 API documentation: category (#10435)
* Typdoc: category

* Add categories

* workflow
2022-03-22 13:57:00 +08:00
santy-wang 41fe64b097 Merge branch 'v3.5.0' of https://gitlab.cocos.net/publics/engine into v3.6.0 2022-01-24 17:45:05 +08:00
minggo e80251eae6 Codes for native (#9920) 2022-01-11 17:30:18 +08:00
santy-wang 7ffe1bc031 Merge branch 'v3.4.1' of https://gitlab.cocos.net/publics/engine into v3.5.0 2022-01-06 14:41:28 +08:00
alpha f153b5cc1b fix Color.fromHex Bug (#9867) 2021-12-28 11:52:01 +08:00
PP fbde8d1e90 use lagacyPublic to marked deprecated public interface (#9859)
* use lagacy-public

* publish beta6

* remove jsDoc tag from constructor

* use legacyPublic

* publish beta 7
2021-12-28 11:48:10 +08:00
PP cc01fad918 support internal interface filter (#9797)
* support interface filter

* publish build-engine@4.2.20-beta.1

* update

* fix other type of statement

* publish @cocos/build-engine 4.2.20

* update lock

* remove `@internal` from constructor documentation

* change to internal_cc tag

* support target tag in interface-filter

* publish  4.2.21-beta.1

* remove `@private_cc` tag

* remove public internal interface

* remove public internal getter setter

* remove public declare internal property

* update

* remove `__editorExtrasTag__`

* remove public internal interface on `js`

* pulish @cocos/build-engine 4.2.21-beta.2

* change tag to `@deprecated_to_user`

* support `@deprecated_to_user`

* publish 4.2.21-beta.3

* finish change request

* change to marked_as_engine_private

* publish 4.2.21-beta.5
2021-12-22 12:55:45 +08:00
alpha 643444d597 Fix color.fromHex function can't set alpha to zero (#9614) 2021-11-04 12:33:08 +08:00
jk20012001 d3bc40395c Code style (#9538)
* Code style

* Code style
2021-10-26 13:33:31 +08:00
Yun Hsiao Wu 4cf1350fe0 gfx: swapchain refactor (#9030)
* update effect.hideInEditor

* swapchain refactor

* webgl multi draw

* implicit depth/stencil format

* native adapt

* explicit resizable texture

* DrawInfo in InputAssembler

* device cached states

* sync defines

* gfx: empty backend

* update playground

* remove profiler camera

* update effect types

* fix pass.resetUniform
2021-08-31 19:40:50 +08:00
jiaxin.lai 9ccf2aa92b add vec2 cross override and unit test (#9250)
* vec2 cross override

* add unit test

* docs
2021-08-25 18:43:55 +08:00
cary 0a1356a816 Compatible with non-ReadOnly parameters. (#9160) 2021-08-15 22:01:41 +08:00
GengineJS 434249da19 Modify the math library (#9163)
* Modify the math library

* fix ci
2021-08-12 10:59:09 +08:00
Santy-Wang 63353c20d5 misc fixes (#9143)
* misc fixes

* refine
2021-08-06 15:06:04 +08:00
江战 a6949bc6ec Use float64 on non-JSB platforms (#9111)
* use float64 on non-jsb'
 platforms

* simplify

* fix arg
2021-08-05 15:24:47 +08:00
cary 6d0c8d2537 Fix the animation bug of vec2. (#9123) 2021-08-05 11:28:51 +08:00
cary 0d474c6362 Fix the action error reported for physical scenes. (#9102) 2021-08-02 17:37:05 +08:00
GengineJS 3950b7fac6 Export math library attribute values ​​and fix tween not working (#8911) 2021-06-30 11:43:05 +08:00
GengineJS 3b911a6554 [Add] native renderScene update (#8863) 2021-06-22 16:41:26 +08:00
zheng han 7dcce93d4f fix readonly tsc compile (#8772) 2021-06-08 09:35:14 +08:00
cary f37099c294 Change the parameter of the math library to Readonly. (#8765)
* Change the parameter of the math library to Readonly.

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* delete pool
2021-06-04 17:36:15 +08:00
GengineJS 2315b4d2dd Pipeline memory pool removed (#8738) 2021-06-02 17:23:02 +08:00
李学武 1a046e45ff Update rect.ts (#8247) 2021-02-03 15:03:11 +08:00
Leslie Leigh (李的序) 9bd9baac12 Eslint autofix all (#8108)
* Eslint autofix all

* Manual fix
2021-01-09 11:41:10 +08:00
troublemaker52025 e4e5ba72a0 Refactoring shadow ubo submit (#7824)
* refactorning shadow UBO submit

* update

* update

* add destory()

* Conflict effects resolution

* fix planar shadow shader error  &&  fix CC_ShadowMap no bounding error

* update
2020-11-20 09:34:15 +08:00
pandamicro b162e21a93 Update license and API language declaration (#7750)
* Update licenses

* Update license for audio

* Update license for core/3d

* Update license for animation, assets, asset-manager, components, data

* update license for event, geometry, gfx

* update license for core modules

math, memop, pipeline, platform, primitive, renderer, scene-graph, utils, value-types

* Update license for core

* Update license for particle and particle-2d

* Update license for particle part2

* Update license for physics and physics-2d

* Update license for all modules in cocos

* Update license for exports

* Fix API doc language declaration
2020-11-10 17:36:31 +08:00
Yun Hsiao Wu 8d2ef1fe51 fix skybox effect (#7740)
* fix skybox

* fix subMesh.iaInfo
2020-11-09 17:55:55 +08:00
Yun Hsiao Wu 32598c25cb switch to eslint (#7727)
* switch to eslint

* eslint: extends airbnb
2020-11-09 10:19:12 +08:00
Knox 594ea62016 sync 2d pr (#7698)
1.https://github.com/cocos-creator/engine/pull/7081
2.https://github.com/cocos-creator/engine/pull/7329
2020-11-05 17:23:28 +08:00
Yun Hsiao Wu 3e8b6ec771 raw object pool (#7683)
* raw object pool

* fix worldToScreen

* fix mesh.merge on native

* inline some adaptation computations

* enable scissor tests by default
2020-11-05 10:56:59 +08:00
pandamicro 3068956648 Refactor gfx module naming convention (#7663)
* Remove GFX prefix in gfx module

* Full deprecation for old GFX APIs

* export gfx module

* Fix issues and make deprecated exports backward compatible

* Adaptation in engine modules for gfx

* Fix ci

* fix ci
2020-11-02 09:49:50 +08:00
jiaxin.lai 1d1a158640 delete deprecated of divide (#7660) 2020-10-31 19:41:08 +08:00
Yun Hsiao Wu c60a6ed251 pre-rotation adaptation: dynamics (#7625)
handle runtime orientation chanegs too
2020-10-29 13:45:16 +08:00
Yun Hsiao Wu a318283a41 fix pre-rotation adaptation (#7607) 2020-10-28 10:28:21 +08:00
Leslie Leigh (李的序) f99240f664 @cocos/build-engine: add option to remove deprecated features (#7603) 2020-10-27 18:28:58 +08:00
Yun Hsiao Wu 40d959e718 gfx: pre-rotation on android (#7586) 2020-10-26 10:31:17 +08:00
pandamicro f31968e999 Merge remote-tracking branch 'origin/3d' into 3d
# Conflicts:
#	cocos/core/platform/sys.ts
2020-10-22 11:52:25 +08:00
pandamicro 6101d772a2 Merge remote-tracking branch 'origin/3d-v1.2' into 3d
# Conflicts:
#	EngineErrorMap.md
#	cocos/core/3d/builtin/effects.ts
#	cocos/core/data/decorators/property.ts
#	cocos/core/pipeline/forward/forward-pipeline.ts
#	cocos/core/pipeline/forward/scene-culling.ts
#	cocos/core/renderer/scene/model.ts
#	cocos/core/renderer/scene/shadows.ts
#	cocos/core/renderer/ui/mesh-buffer.ts
#	cocos/core/renderer/ui/ui-vertex-format.ts
#	cocos/core/scene-graph/scene-globals.ts
#	cocos/terrain/terrain.ts
#	cocos/ui/assembler/graphics/webgl/graphics-assembler.ts
#	cocos/ui/components/graphics.ts
#	editor/assets/default_prefab/3d/Capsule.prefab.meta
#	editor/assets/default_prefab/3d/Cone.prefab.meta
#	editor/assets/default_prefab/3d/Cube.prefab.meta
#	editor/assets/default_prefab/3d/Cylinder.prefab.meta
#	editor/assets/default_prefab/3d/Plane.prefab.meta
#	editor/assets/default_prefab/3d/Quad.prefab.meta
#	editor/assets/default_prefab/3d/Sphere.prefab.meta
#	editor/assets/default_prefab/3d/Torus.prefab.meta
#	editor/assets/default_prefab/Camera.prefab.meta
#	editor/assets/default_prefab/Terrain.prefab.meta
#	editor/assets/default_prefab/effects/Particle System.prefab.meta
#	editor/assets/default_prefab/light/Directional Light.prefab.meta
#	editor/assets/default_prefab/light/Sphere Light.prefab.meta
#	editor/assets/default_prefab/light/Spot Light.prefab.meta
#	editor/assets/default_prefab/ui/Button.prefab.meta
#	editor/assets/default_prefab/ui/Canvas.prefab.meta
#	editor/assets/default_prefab/ui/EditBox.prefab.meta
#	editor/assets/default_prefab/ui/Label.prefab.meta
#	editor/assets/default_prefab/ui/Layout.prefab.meta
#	editor/assets/default_prefab/ui/Mask.prefab.meta
#	editor/assets/default_prefab/ui/ProgressBar.prefab.meta
#	editor/assets/default_prefab/ui/ScrollView.prefab.meta
#	editor/assets/default_prefab/ui/Slider.prefab.meta
#	editor/assets/default_prefab/ui/Sprite.prefab.meta
#	editor/assets/default_prefab/ui/Toggle.prefab.meta
#	editor/assets/default_prefab/ui/ToggleContainer.prefab.meta
#	editor/assets/default_prefab/ui/Widget.prefab.meta
2020-10-21 18:35:11 +08:00
Jare Guo 585625004b add fromAngleZ for angle (sync #4585) (#7512) 2020-10-21 17:44:04 +08:00
Jare Guo 0319477911 fix decorator warning of ValueTypes (#7553)
* fix decorator warning of ValueTypes (sync #6285)

* refresh copyright
2020-10-21 16:31:41 +08:00
Jare Guo 2cdc3d1b8b Refine EngineErrorMap and sync 2D changes (#7542)
* refine Color.toCSS/toHex (sync #6216 #6207)

* refine component.resetInEditor (sync #6244)

* Revert "Improve error maps (#5527)"

This reverts commit 224cea23ab.

# Conflicts:
#	EngineErrorMap.md
#	cocos/core/assets/sprite-frame.ts

* Revert "Component rename for new standard and 2d compatibility (#7103)"

This reverts commit 3240dba206.

# Conflicts:
#	EngineErrorMap.md

* Remove some old deprecations (sync #6271)
2020-10-16 10:55:32 +08:00
Jare Guo a0a992de5d remove asserts from addChild & sync 2D changes (#7479)
* remove asserts from addChild

* expose js._registeredClassIds & js._registeredClassNames (sync #3174)

To unload scripts dynamically.
Also revert part of changes from https://github.com/cocos-creator/engine/pull/3204/files#diff-cabe5229c3c6e31339220008e54fe853L421

* remove unused code (sync #3174)

* minor tweak (sync #3421)

* should not invoke component if destroy() called before node activating (sync #3430)

* node should removed and destroyed with scene (sync #3456 #3483)

* fix WebGL detection on Android browsers (sync #3510)

* remove redundant right shift for bitwise operation (sync #3754)

* fix label blur when using dark font color (sync #3949)

* refine tooltip of Block Input Event (sync #4053)

* fix IE/Edge exception when output log/warn before engine initialization(sync #4447, #4500)

* sync class, attribute (#4689, #4712, #4781, #4712)

* fix loading unknown texture format (sync #4820)

* prefer toLowerCase to toLocaleLowerCase + sync #5114

* optimize bezier calculation (sync #5155)

* fix potential memory leak in scene-editor (sync #5643)

* fix _posDirty error of Mask on native platform (sync #6168)
2020-10-15 17:28:14 +08:00
yinkaile 96a735b2ff 3d v1.2 physics 2d (#7357)
* Squashed commit of the following:

add physics 2d

* @@ -205,9 +205,6 @@ export class b2PhysicsWorld implements IPhysicsWorld {

revert box2d version

* add mask param to raycast

* refine code
2020-10-12 11:49:49 +08:00
pandamicro 27e36c1179 Merge remote-tracking branch 'origin/3d-v1.1' into 3d-v1.2
# Conflicts:
#	cocos/core/math/quat.ts
#	cocos/core/math/rect.ts
2020-09-28 17:55:37 +08:00
ChiaNing 15a1806d18 API doc format change (#7456) 2020-09-28 16:52:52 +08:00