Files
cocos4/templates
fqamic d4055f7e32 new basic capabilities of supporting handset ar and webxr (#13420)
* 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>
2022-11-24 13:33:50 +08:00
..
2022-09-16 10:20:52 +08:00
2022-09-28 15:11:35 +08:00
2022-08-18 10:31:52 +08:00
2022-04-18 10:24:54 +08:00
2022-07-12 16:04:35 +08:00
2022-04-18 10:24:54 +08:00

compatibility-info.json

This file is used to declare the compatibility of template files with previous versions.

Example:

{
    // include all supported native platforms, such as windows, ios, android, mac etc.
    "native":  // required
    {
        "default": ">=3.6.0",    // required, applied if any specific platform value is not provided 
        "windows": VERSION_RANGE // optional, supported version for Windows
        "mac": VERSION_RANGE     // optional, supported version for Mac
        "ios": VERSION_RANGE     // optional, supported version for iOS
        "android": VERSION_RANGE // optional, supported version for Android
    }
}

The VERSION_RANGE syntax examples

Simple conditions
  1. >=3.6.0
  2. >3.5.1
  3. <3.5.1
  4. <=3.5.1
  5. 3.3.2 , specify version
  6. !3.5.0 , excluded version
Composite conditions

The space is the 'AND' operation, and the '||' is the 'OR' operation

  1. >=3.6.0 <3.7.0
  2. 3.4.2 || >= 3.6.0
  3. >=3.4.0 !3.4.2 <3.5.0 || 3.6.0
Wildcard conditions
  1. 3.x is equivalent to >=3.0.0 <4.0.0
  2. 3.4.x is equivalent to `>= 3.4.0 <3.5.0