Commit Graph

4063 Commits

Author SHA1 Message Date
李吉林 f195f7dd2d add spline (#10684)
* add spline
2022-04-11 15:49:20 +08:00
黄森斌 054c1d8eaf [Bug] fix cc.ClickEvent target type error (#10552)
* fix cc.ClickEvent target type error

* add event handler schema

* add comments

* add comments
2022-04-10 09:54:30 +08:00
minggo f6c319aff4 Merge pull request #10591 from minggo/v3.6_merge_v3.5
V3.6 merge v3.5
2022-04-01 13:51:27 +08:00
hyde zhou 58b78e24ac [v3.6.0 pipeline] uses ccstd::pmr::string (#10573)
* update the pipeline ubo

* use ccstd::pmr::string

Co-authored-by: GengineJS <476393671@qq.com>
2022-03-29 20:19:21 +08:00
minggo a6bf766170 Merge branch 'v3.5.0' into v3.6_merge_v3.5 2022-03-29 18:26:40 +08:00
Leslie Leigh (李的序) 0a67669190 Animation state bugfix (#10558) 2022-03-29 11:33:47 +08:00
Leslie Leigh (李的序) 9e46834765 Category description (#10544)
* Category description

* Update
2022-03-28 17:53:45 +08:00
zhakesi bac3bc99b3 fix sprite-frame size after repetitive dynamic creation of tiledmap (#10535)
* fix sprite-frame size after repetitive dynamic creation of tiledmap

* rename texture to sprite-frame

Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-03-28 16:55:28 +08:00
李吉林 baf95125fc profiler with surface transform (#10515)
* profiler with surface transform

* add namespace closing comment
2022-03-28 10:20:54 +08:00
Yiwen 718ea8ee3f Add a method to select mipmap range for Texture2D and TextureCube. (#10500)
* Add a feature to select mipmap range to image asset.

* fix format

* fix format

* modify comments, remove uncessary methods

* finx comments.

* fix logic problem

* fix mipmap range problems

* Add validation information incase someone wants to generate mipmap for compressed texture

* remove some validations to make gfx bakend clear

* fix a stupid typo

* Add validation information for setMipRange

* use assertID to validate the mipmap range
2022-03-27 13:52:24 +08:00
Santy-Wang 98e52e3f16 output warning info when attached to the node has zero scaling (#10524)
* output warning info when attached to the node has zero scaling

* use approx instead
2022-03-26 22:23:29 +08:00
pandamicro f4aa81d88e Fix vec3 & vec4 transformAffine (#10508) 2022-03-26 19:23:41 +08:00
zhakesi 5157fd2734 fix tiled show with pixel offset (#10523)
Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-03-26 19:13:47 +08:00
ChiaNing 0587992cb1 fix label Blend Factor bug for BYTEDANCE (#10516)
* fix label Blend Factor bug for BYTEDANCE

* update
2022-03-26 18:53:07 +08:00
Leslie Leigh (李的序) 73374aa999 Fix animation bug introduced from #10485 (#10512)
* Fix animation bug introduced from #10485

* Add test
2022-03-26 15:57:50 +08:00
Leslie Leigh (李的序) 673844eafb Fix: animation blending zero check (#10499)
* Fix: zero check animation blending

* Rename
2022-03-25 18:51:15 +08:00
mu xiandong 1f11536a1f fix: Fix getUrlWithUuid smart hint issue (#10484)
* fix: Fix getUrlWithUuid smart hint issue

link https://github.com/cocos/3d-tasks/issues/8714

* fix ci

* fix ci

* fix

Allow the options value to be empty, keeping it consistent with the previous API

* Update helper.ts

* fix

Co-authored-by: muxiandong <24754593@qq.com>
2022-03-25 18:39:44 +08:00
PP 5ef14f649f remove help decorator on non-component class (#10503) 2022-03-25 16:25:30 +08:00
PP 96f3bd00e3 fix pointer event when camera.orthoHeight changed (#10496)
* deprecated uiTransform.isHit with hitTest method

* use hitTest instead of isHit

* add type info

* update
2022-03-25 13:53:09 +08:00
Leslie Leigh (李的序) f00d11adaa Optimize the way how animation component update its animation content (#10485)
* Optimize the way how animation component update its animation content

* Update

* Update

* update

* Update
2022-03-25 10:03:29 +08:00
Myway bc59c43cd1 set lightmap clamp to border and fixed rebuild terrain weights (#10470) 2022-03-24 11:43:44 +08:00
hyde zhou af310bf8a4 use native root.pipeline (#10467) 2022-03-24 09:43:23 +08:00
ChiaNing e348ae4e2e clear Particle under UIMeshRenderer when play end (#10468)
* clear Particle under UIMeshRenderer when play end

* format

* format change
2022-03-23 20:21:26 +08:00
jk20012001 d5f172b782 Fix fog accumulated error with multiple local lights (#10445)
* Fix fog accumulated error with multiple local lights

* add standard exposure value for lightmap
2022-03-23 17:43:43 +08:00
hyde zhou 5dc38fcb6f [V3.6.0 pipeline] pipeline updates (#10345) 2022-03-23 16:36:37 +08:00
Leslie Leigh (李的序) 16253687b9 Handle legacyPublic in API doc (#10456)
* Handle legacy public

* Update
2022-03-23 14:26:27 +08:00
Zhang mingzhen f7c2559944 Chunk renderdata reform v3.6 (#10329)
* reform chunk & renderdata

* add some optimizations

* update eslint

* add optimizations

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-03-23 11:21:33 +08:00
黄森斌 d065ca6aee V3.5.0 fix bug: reset renderer-component would not update model (#10342)
* fix bug: reset materials would not update model

* add comment

* reset _materials.length

* fix bug: model in scene would not disappear when remove mesh

* modify code written
2022-03-22 17:57:56 +08:00
李吉林 6c935352dd geometry renderer refactor (#10444) 2022-03-22 17:44:39 +08:00
pandamicro d3f5e58acc Fix templates and minor tweaks (#10434)
* Fix templates

* Minor tweaks

* Minor
2022-03-22 17:22:41 +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 (李的序) b87c185333 Marionette: layer, mask, auto trigger, pass through state (#10179)
* Marionette/3.5.0 Initial Commit

* Auto trigger default value

* import skeleton 改为选择 fbx 文件

* Rename passthrough -> empty

* Refactor Auto Trigger (#81)

* Refactor auto trigger

* Lint

* Optimize

* Update

* Migrate triggers (#82)

* Fix merge problems

* Optimize

* Optimize

Co-authored-by: arsen2010 <arsen2010@126.com>
2022-03-22 15:05:45 +08:00
Leslie Leigh (李的序) 466d4cf1f9 API documentation: category (#10435)
* Typdoc: category

* Add categories

* workflow
2022-03-22 13:57:00 +08:00
Myway 459abdbd72 change lighting map unpack and luminance multiply (#10185) 2022-03-22 12:01:47 +08:00
zhakesi 1f4e10a0c8 fix spine/dragonbones opacity update (#10349)
* fix spine/dragonbones opacity update

* fix use ui-opacity with spine on editor

Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-03-21 19:51:34 +08:00
zhakesi c4730a29dc fix animation not work caused by creating spine in a hided node (#10380)
* fix animation not work caused by creating spine in a hided node

* use a flag to mark if need update skeleton data setting

Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-03-21 19:36:44 +08:00
ChiaNing 44b78f0a89 fix opacity dirty bug when parent change (#10416) 2022-03-21 19:13:51 +08:00
alpha 5647498081 UIOpacity Component DisallowMultiple (#10390) 2022-03-21 13:52:39 +08:00
李吉林 8b611affa2 V3.6.0 font debug profiler (#10387)
* add Font&DebugRender&Profiler

* add profiler for metal

* fix profiler review problem
2022-03-21 11:41:54 +08:00
hyde zhou 7e6cba5edf [v3.6.0 pipeline] update layout graph and web-pipeline (#10407)
* merge & sort layout
* update the rendergraph compiler

Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: GengineJS <476393671@qq.com>
2022-03-21 10:40:55 +08:00
hyde zhou 19e7c7740c [v3.6.0 pipeline] use native implementation of Root::usesCustomPipeline (#10399)
* layout graph updated

* enable native usesCustomPipeline

* fix comment
2022-03-21 09:47:04 +08:00
hyde zhou 8fc925719e [v3.6.0 pipeline] pipeline update (#10391)
* add get pipelineSceneData

* present refactored

* added executor example
2022-03-18 15:27:38 +08:00
Zhang mingzhen 09352240ce dont force setting overflow clamp when excuting (#10368) 2022-03-18 14:37:43 +08:00
zhakesi e5caa3ecc2 reset render data before set asset for spine/dragonbones (#10370)
Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-03-18 10:15:03 +08:00
kenshin c374ef59de fix spine rendering confusion (#10348)
Re: cocos/2d-tasks#3621

Changelog:

Fix incorrect parsing of JSON boolean value.
Skips rendering slots without active bones .
2022-03-17 17:35:32 +08:00
mmyduckx 984d66b12d fix director.ts typo (#10382)
* fix director.ts typo

* remove useless legacyCC in director.ts

* fallback for compatible
2022-03-17 16:29:36 +08:00
troublemaker52025 18952aafff fix 2D-phyisc rotation error for v3.5.0 (#10373) 2022-03-17 10:00:51 +08:00
Santy-Wang a6ffd14c23 optimize decorator performance (#10323)
* optimize decorator performance

* refine

* debug

* delete useless code

* add ccclass

* add freeze
2022-03-16 18:16:21 +08:00
李吉林 d793157a71 add dynamic mesh (#10291)
* add dynamic mesh

* Mesh init refactor

* fix geometry renderer bug

* dynamic mesh review update

* MeshUtils refactor

* do not export createDynamicMesh
2022-03-16 16:55:49 +08:00
timlyeee b9353eb18c only free for native (#10369) 2022-03-16 16:31:04 +08:00