* feat: add the basic capability of handset ar native
* feat: add handset input device, for ar camera pose
* feat: native pack tool supports xr platform name
* feat: web gl context supports webxr
* feat: webxr has been converted to screen coordinates via camera
* fix: pr ts-expect-error undefined xr
* feat: support webxr, and remove ar redundant code
* fix:xr-spaces gradlew permission error
* feat: revert redundant ar engine feature
* fix: eslint check error
* feat: remove redundant code
* fix: eslint check warning
* adjust armodule process in forward stage, mtl texture and jsb
* fix: exlint warning, and add license
* adjust ar lib and interfaces
* change webxr check interface
* merge external arlib header and move it to engine
* improve: update native external version
* move ar background stage to xr/rendering and move its init to webxr device in xr plugin
* fix format error
* fix format error
* adjust jsb_ar_manual, ARModule, ARBackground
* adjust arbackground
Co-authored-by: Parryzhai <1306895355@qq.com>
Co-authored-by: MoHai <1192652394@qq.com>
`cocos/core` should not depend other modules, so move some files out of `cocos/core`:
- move some files from `cocos/core` to `cocos/game`
- director.ts
- splash-screen.ts
- game.ts
- move `cocos/core/root.ts` to `cocos/root.ts` as there is not better module to contain `root.ts`.
- move `cocos/core/platform/view.ts` to `cocos/ui/view.ts` as screen related logic is moved to `cocos/core/platform/screen.ts`
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
- component.ts
- component-event-handler.ts
- component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`:
- missing-script.ts
- model-renderer.ts
- renderer.ts
- camera-component.ts
* move `cocos/core/components/system.ts` to ``cocos/core/system.ts``
move cocos/core/asset-manager to cocos/asset/asset-manager
move cocos/core/assets to cocos/asset/assets
merge cocos/core/builtin to cocos/asset/asset-manager
* Change Android mainloop, add global config and template projects for XR.
* Change gfx/gles device's process flow for XR, working with other PRs, waiting.
* Change gfx/Vulkan device's process flow for XR, working with other PRs, waiting.
* Change render process for XR.
* Develop XR input and events.
* Develop 3D feature of UI widgets and raycast effect for XR.
Co-authored-by: fqamic <fqamic@vip.qq.com>
* add constant type for number
* support number type of build time constant
* publish 4.3.11
* update test
* support genCCEnvConstants && publish 4.3.12
* NET_MODE is public, SERVER_MODE is private
* update deps
* fix exportDynamicConstants
* update test
* publish 4.3.14
* update deps
* support JIT is not dynamic
* update lock
* default physics material useing internal asset : default-physics-material.pmtl. todo: Project Setting's physics material config need to use this asset too. (#12662)
* support set default physics material value from project setting panel. It will effect the packaging processing, and scene loading(todo). this value will not be saved to default-physics-material.pmtl.
* fix physics-system unit test failure: physics system 's constructAndRegister() will directly init default physics material if the default physics material asset is ready
* minor modification of PhysicsSystem::_updateMaterial
* [JSB] Fix wrong path of pipeline-state.ts in cc.config.json which causes pipeline-state.jsb.ts takes no effect.
* [JSB] Optimize MeshRenderer.setInstancedAttribute for native. Avoid to generate temporary JSB objects.
* [JSB] Optimize se::Object::getArrayLength.
* Reorder typedarray type in Object::getTypedArrayType, check Float32Array first since we use Float32Array and unsigned integer much more frequently.
* More std::vector.reserve in InstancedBuffer.cpp & Model.cpp
* Update stack size to 64 bytes for array in js_Model_setInstancedAttribute
* publish build-engine 4.3.9 && support native API docs
update lock
update
* publish 3.4.10: fix generating comment on top level of namespace
* fix test CI
* support ConstantManager
update
* add unit test for ConstantManager
handle Escape in unit test
* fix `gulp build-h5-source`
* publish
* update deps
update lock
* update unit test
* merge ConstantManager into StatsQuery && merge cc.config.json
update
* make dynamic ccGlobal optional
* publish 4.3.2 and update deps
* export StatsQuery
* export some interface
* update deps