zhakesi
fed044e8fb
optimize opacity update ( #9679 )
...
* optimize opacity update
* remove _cacheAlpha
* modify code style
* Update cocos/core/scene-graph/node-ui-properties.ts
* Update cocos/core/scene-graph/node-ui-properties.ts
* 1. supplement unit test case
2. supplement default dirty parameter
(cherry picked from commit 7e62d265ffbc8566e92bfcc10c1f9eb68e081487)
Co-authored-by: Santy-Wang <wh19930829@qq.com >
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2021-11-19 17:35:19 +08:00
黄森斌
d4adceac25
fix material preview bug ( #9684 )
2021-11-19 15:21:12 +08:00
zheng han
bc21225907
migrate blendColor ( #9680 )
2021-11-18 23:26:35 +08:00
Yun Hsiao Wu
1763f2556e
fix default property missing when property index is set ( #9683 )
2021-11-18 16:35:29 +08:00
PP
ae7635be17
add note for perperties on SubContextView component ( #9676 )
2021-11-18 13:47:05 +08:00
troublemaker52025
a076fb496c
merge valid punctual light culling for v3.4.0 ( #9664 )
...
* merge valid punctual light culling for v3.4.0
* update
* update 2
* update 3
* update 4
2021-11-18 13:45:35 +08:00
Leslie Leigh (李的序)
d5154269e2
Fix log() takes not effect if debug mode <= verbose ( #9681 )
2021-11-18 12:00:24 +08:00
Yun Hsiao Wu
2ff4e8a8cf
set model dirty when attaching to scene ( #9674 )
2021-11-17 18:54:09 +08:00
ChiaNing
cbc142f89c
fix label memory leak when destroy ( #9677 )
...
* fix label memory leak when destroy
* function move
2021-11-17 17:15:19 +08:00
Leslie Leigh (李的序)
05484abc30
Rename animation.StateStatus -> animation.MotionStateStatus ( #9675 )
2021-11-17 15:55:03 +08:00
zheng han
c1dccb9c7e
1. fix typos ( #9673 )
...
2. export TweenAction
2021-11-17 13:44:42 +08:00
jk20012001
dea29af42d
unlit shader linear mode ( #9671 )
2021-11-16 18:44:01 +08:00
jk20012001
d3fe96f5cc
Fix linear color in other effects ( #9665 )
...
* Fix linear color in other effects
* Update compiled shaders
* Fix name
2021-11-16 17:48:38 +08:00
zxx43
9d9481fb54
revert ( #9668 )
2021-11-16 10:34:51 +08:00
pandamicro
4c526a60c7
Update comment about component.schedule
2021-11-16 10:10:02 +08:00
zxx43
781ae1a6dc
V3.4 vulkan shader fix ( #9663 )
...
* fix pseudoRandom vulkan compatible issue
* refine shader
* add comment for this issue
2021-11-15 20:03:39 +08:00
PP
55299dc7fa
start audioSourceBufferNode before running audio context ( #9660 )
...
* start audioSourceBufferNode before running audio context
* remove test
2021-11-15 11:37:29 +08:00
timlyeee
cddda466a2
fix eslint for splash-screen.ts ( #9662 )
2021-11-15 10:09:05 +08:00
PP
93352ac8e7
fix nodeEventProcessor.once() ( #9649 )
...
* fix `nodeEventProcessor.once()`
* optimize return type
* support _registerOffCallback in CallbacksInvoker
2021-11-15 10:08:27 +08:00
Leslie Leigh (李的序)
a23c8aa98d
Update fbx meta ( #9653 )
2021-11-13 20:05:46 +08:00
zhangxin
4f40ae2fef
add quote-props rules and eslint fix ( #9656 )
2021-11-13 17:44:58 +08:00
timlyeee
3b7d6ce7be
Mixin => Addon for pipeline ( #9648 )
2021-11-13 15:38:44 +08:00
Santy-Wang
2b0d7daf3d
fix pvd error ( #9654 )
2021-11-13 15:37:40 +08:00
Santy-Wang
89f8cfbad3
optimize layer ( #9658 )
...
* optimize layer
* refine
2021-11-13 15:33:07 +08:00
PP
6096119f62
support input dispatch immediately ( #9652 )
...
* support input.dispatchImmediately
* optimize input._frameDispatchEvents()
* optimize dispatchOrPushEventTouch
stash
* no need to ban frame dispatch events
* change dispatchImmediately as private property
2021-11-12 20:12:36 +08:00
timlyeee
e0d8758fcb
[temp hack] use simple flag to pause splashScreen ( #9606 )
...
* use simple flag to control framemove
* Pause splashScreen for native platform as windows
* .
* remove unused include
* rename functions
2021-11-12 14:39:53 +08:00
ChiaNing
935a47f31a
Fix overrides bug when preview ( #9650 )
...
* Fix overrides bug when preview
* Remove GPUDriven override
2021-11-12 10:36:57 +08:00
PP
1abbc90c23
compability for PROPORTIONAL_TO_FRAME container strategy ( #9642 )
...
* support isProportionalToFrame field on screen-adapter
update
stash
* rename _setupContainer to _setupCanvas
* optimize view.setResolutionPolicy()
* remove TIME_OUT to handle resize event
* compability for PROPORTIONAL_TO_FRAME container strategy
comp
update
* add NOTE
* optimize 'window-resize'
resize
* deprecate game.frame && game.container
deprecate
game
* close screen.resolutionScale interface
close
* fix npm test
* fix view unit test
* space
2021-11-11 19:24:39 +08:00
Yun Hsiao Wu
a3bc15d83d
misc fixes ( #9631 )
...
* prefer D24S8 first
* webgl creates only one context
* restore render area semantic
* fix inefficient usages in pipeline
* fix raycast pre-rotation adaptation
* draw profiler only once
2021-11-11 17:21:09 +08:00
黄森斌
1a03cd1f0b
fix render-texture edit ( #9635 )
2021-11-10 23:02:27 +08:00
Myway
836aa99122
fixed error when terrain component deleted and undo set terrain asset ( #9646 )
2021-11-10 22:52:30 +08:00
jk20012001
4f3d85ab78
Fix fog macro->function arguments type error ( #9637 )
...
* Fix fog macro->function arguments type error
Fix fog color linear conversion
* Fix eslint warning
2021-11-10 14:31:09 +08:00
GengineJS
1d0fadb6f4
Restore part of pipeline code ( #9644 )
2021-11-10 13:46:49 +08:00
PP
ab69d20027
Revert "deprecate ENABLE_WEBGL_ANTIALIAS ( #9626 )" ( #9645 )
...
This reverts commit 5ffc4482cd .
2021-11-10 11:27:51 +08:00
Leslie Leigh (李的序)
3b4892ef41
Fix typing on Node.getComponent(3) ( #9634 )
2021-11-05 18:39:21 +08:00
jk20012001
f488ea0bb1
Fix initialize function override mip levels(groundalbedo.w) ( #9633 )
...
* Fix initialize function override mip levels(groundalbedo.w)
* Code style
2021-11-05 17:51:00 +08:00
jk20012001
7ad092a260
Fix: linear color conversion without alpha channel ( #9620 )
...
* Fix: linear color conversion without alpha channel
* Code style
2021-11-05 15:22:23 +08:00
Zhang mingzhen
60cae28a26
Optimize label serialization of "spacingX" and "underlineHeight" on v3.4 ( #9628 )
...
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2021-11-05 14:07:09 +08:00
PP
d39ce3d3d8
support preventSwallow on EventMouse && EventTouch ( #9621 )
...
* support swallowedByTopNode on EventMouse && EventTouch
* experimental
* deprecation
* revert deprecate touch
* use swallowEvent
* update
* use preventSwallow
2021-11-05 14:04:54 +08:00
Leslie Leigh (李的序)
309af621ec
Fix typing on Node.getComponent(2) ( #9632 )
...
* Fix typing on Node.getComponent() (#9622 )
* Fix typing on Node.getComponent()
* Update
* Fix typing on Node.getComponent
2021-11-05 14:03:31 +08:00
PP
5ffc4482cd
deprecate ENABLE_WEBGL_ANTIALIAS ( #9626 )
...
* deprecate ENABLE_WEBGL_ANTIALIAS
update
* remove deprecation usage
2021-11-05 10:40:51 +08:00
zxx43
fbdc0ef287
add renderCulling tool tip ( #9619 )
2021-11-04 23:16:14 +08:00
PP
dea48a404c
remove DPR hack on vivo platform ( #9625 )
2021-11-04 23:07:48 +08:00
Leslie Leigh (李的序)
41f81a5ca9
Revert "Fix typing on Node.getComponent() ( #9622 )" ( #9627 )
...
This reverts commit 34ace04e9f .
2021-11-04 23:06:44 +08:00
Leslie Leigh (李的序)
34ace04e9f
Fix typing on Node.getComponent() ( #9622 )
...
* Fix typing on Node.getComponent()
* Update
2021-11-04 18:04:57 +08:00
ChiaNing
fd20b561be
remove GPU_DRIVEN flag ( #9617 )
2021-11-04 12:44:24 +08:00
alpha
643444d597
Fix color.fromHex function can't set alpha to zero ( #9614 )
2021-11-04 12:33:08 +08:00
黄森斌
5f36cbdfff
export BindableNumber from animationApi ( #9615 )
2021-11-04 12:12:25 +08:00
Yun Hsiao Wu
fa1ad1eee6
pass owns instanced/batched buffer ( #9605 )
...
* pass owns instanced/batched buffer
* no zero-sized buffer
* fix effect default content
2021-11-04 12:08:07 +08:00
zxx43
a897c04885
deprecate enableCulling ( #9616 )
2021-11-04 12:03:44 +08:00