mirror of
https://github.com/cocos/cocos-engine.git
synced 2026-09-06 15:48:37 +08:00
317 lines
12 KiB
JSON
317 lines
12 KiB
JSON
{
|
|
"$schema": "./schema.json",
|
|
"features": {
|
|
"base": {
|
|
"label": "i18n:ENGINE.features.core.label",
|
|
"description": "i18n:ENGINE.features.core.description",
|
|
"required": true,
|
|
"default": ["base"],
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true
|
|
},
|
|
"graphcis": {
|
|
"label": "i18n:ENGINE.features.graphics.label",
|
|
"multi": true,
|
|
"description": "i18n:ENGINE.features.graphics.description",
|
|
"default": ["gfx-webgl", "gfx-webgl2"],
|
|
"options": {
|
|
"gfx-webgl": {
|
|
"required": true,
|
|
"label": "i18n:ENGINE.features.gfx_webgl.label",
|
|
"description": "i18n:ENGINE.features.gfx_webgl.description",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true
|
|
},
|
|
"gfx-webgl2": {
|
|
"label": "i18n:ENGINE.features.gfx_webgl2.label",
|
|
"description": "i18n:ENGINE.features.gfx_webgl2.description",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true
|
|
}
|
|
}
|
|
},
|
|
"animation": {
|
|
"label": "i18n:ENGINE.features.animation.label",
|
|
"description": "i18n:ENGINE.features.animation.description",
|
|
"default": ["animation"],
|
|
"category": "animation"
|
|
},
|
|
"skeletal-animation": {
|
|
"label": "i18n:ENGINE.features.skeletal_animation.label",
|
|
"description": "i18n:ENGINE.features.skeletal_animation.description",
|
|
"default": ["skeletal-animation"],
|
|
"category": "animation"
|
|
},
|
|
"3d": {
|
|
"default": ["3d"],
|
|
"label": "i18n:ENGINE.features.base_3d.label",
|
|
"description": "i18n:ENGINE.features.base_3d.description",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true,
|
|
"category": "3d"
|
|
},
|
|
"2d": {
|
|
"default": ["2d"],
|
|
"label": "i18n:ENGINE.features.base_2d.label",
|
|
"description": "i18n:ENGINE.features.base_2d.description",
|
|
"category": "2d",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true
|
|
},
|
|
"xr": {
|
|
"default": [],
|
|
"label": "i18n:ENGINE.features.xr.label",
|
|
"description": "i18n:ENGINE.features.xr.description",
|
|
"wechatPlugin": false,
|
|
"taobaoMinigamePlugin": false
|
|
},
|
|
"ui": {
|
|
"default": ["ui"],
|
|
"label": "i18n:ENGINE.features.ui.label",
|
|
"description": "i18n:ENGINE.features.ui.description",
|
|
"category": "2d",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true
|
|
},
|
|
"particle": {
|
|
"default": ["particle"],
|
|
"label": "i18n:ENGINE.features.particle.label",
|
|
"description": "i18n:ENGINE.features.particle.description",
|
|
"category": "3d",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true
|
|
},
|
|
"physics": {
|
|
"label": "i18n:ENGINE.features.physics.label",
|
|
"description": "i18n:ENGINE.features.physics.description",
|
|
"default": ["physics-ammo"],
|
|
"category": "3d",
|
|
"options": {
|
|
"physics-ammo": {
|
|
"label": "i18n:ENGINE.features.physics_ammo.label",
|
|
"description": "i18n:ENGINE.features.physics_ammo.description"
|
|
},
|
|
"physics-cannon": {
|
|
"label": "i18n:ENGINE.features.physics_cannon.label",
|
|
"description": "i18n:ENGINE.features.physics_cannon.description"
|
|
},
|
|
"physics-physx": {
|
|
"label": "i18n:ENGINE.features.physics_physx.label",
|
|
"native": "USE_PHYSICS_PHYSX",
|
|
"description": "i18n:ENGINE.features.physics_physx.description"
|
|
},
|
|
"physics-builtin": {
|
|
"label": "i18n:ENGINE.features.physics_builtin.label",
|
|
"description": "i18n:ENGINE.features.physics_builtin.description"
|
|
}
|
|
}
|
|
},
|
|
"physics-2d": {
|
|
"label": "i18n:ENGINE.features.physics_2d.label",
|
|
"description": "i18n:ENGINE.features.physics_2d.description",
|
|
"default": ["physics-2d-box2d"],
|
|
"category": "2d",
|
|
"options": {
|
|
"physics-2d-box2d": {
|
|
"label": "i18n:ENGINE.features.physics_2d_box2d.label",
|
|
"description": "i18n:ENGINE.features.physics_2d_box2d.description"
|
|
},
|
|
"physics-2d-builtin": {
|
|
"label": "i18n:ENGINE.features.physics_2d_builtin.label",
|
|
"description": "i18n:ENGINE.features.physics_2d_builtin.description"
|
|
}
|
|
}
|
|
},
|
|
"intersection-2d": {
|
|
"default": ["intersection-2d"],
|
|
"label": "i18n:ENGINE.features.intersection_2d.label",
|
|
"description": "i18n:ENGINE.features.intersection_2d.description",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true,
|
|
"category": "2d"
|
|
},
|
|
"primitive": {
|
|
"default": ["primitive"],
|
|
"label": "i18n:ENGINE.features.primitives.label",
|
|
"description": "i18n:ENGINE.features.primitives.description",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true,
|
|
"category": "3d"
|
|
},
|
|
"profiler": {
|
|
"default": ["profiler"],
|
|
"label": "i18n:ENGINE.features.profiler.label",
|
|
"description": "i18n:ENGINE.features.profiler.description",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true
|
|
},
|
|
"occlusion-query": {
|
|
"default": [],
|
|
"label": "i18n:ENGINE.features.occlusion_query.label",
|
|
"description": "i18n:ENGINE.features.occlusion_query.description",
|
|
"native": "USE_OCCLUSION_QUERY",
|
|
"wechatPlugin": false,
|
|
"taobaoMinigamePlugin": false,
|
|
"category": "3d"
|
|
},
|
|
"geometry-renderer": {
|
|
"default": [],
|
|
"label": "i18n:ENGINE.features.geometry_renderer.label",
|
|
"description": "i18n:ENGINE.features.geometry_renderer.description",
|
|
"native": "USE_GEOMETRY_RENDERER",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true,
|
|
"category": "3d"
|
|
},
|
|
"debug-renderer": {
|
|
"default": [],
|
|
"label": "i18n:ENGINE.features.debug_renderer.label",
|
|
"description": "i18n:ENGINE.features.debug_renderer.description",
|
|
"native": "USE_DEBUG_RENDERER",
|
|
"wechatPlugin": false,
|
|
"taobaoMinigamePlugin": false,
|
|
"category": "3d"
|
|
},
|
|
"particle-2d": {
|
|
"default": ["particle-2d"],
|
|
"label": "i18n:ENGINE.features.particle_2d.label",
|
|
"description": "i18n:ENGINE.features.particle_2d.description",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true,
|
|
"category": "2d"
|
|
},
|
|
"audio": {
|
|
"default": ["audio"],
|
|
"label": "i18n:ENGINE.features.audio.label",
|
|
"description": "i18n:ENGINE.features.audio.description",
|
|
"native": "USE_AUDIO",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true
|
|
},
|
|
"video": {
|
|
"default": ["video"],
|
|
"label": "i18n:ENGINE.features.video.label",
|
|
"description": "i18n:ENGINE.features.video.description",
|
|
"native": "USE_VIDEO",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true
|
|
},
|
|
"webview": {
|
|
"default": ["webview"],
|
|
"label": "i18n:ENGINE.features.webview.label",
|
|
"description": "i18n:ENGINE.features.webview.description",
|
|
"native": "USE_WEBVIEW",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true
|
|
},
|
|
"tween": {
|
|
"default": ["tween"],
|
|
"label": "i18n:ENGINE.features.tween.label",
|
|
"description": "i18n:ENGINE.features.tween.description",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true
|
|
},
|
|
"websocket": {
|
|
"default": ["websocket"],
|
|
"label": "i18n:ENGINE.features.websocket.label",
|
|
"description": "i18n:ENGINE.features.websocket.description",
|
|
"native": "USE_SOCKET",
|
|
"wechatPlugin": false,
|
|
"taobaoMinigamePlugin": false,
|
|
"category": "network"
|
|
},
|
|
"websocket-server": {
|
|
"default": [],
|
|
"label": "i18n:ENGINE.features.websocket_server.label",
|
|
"description": "i18n:ENGINE.features.websocket_server.description",
|
|
"native": "USE_WEBSOCKET_SERVER",
|
|
"wechatPlugin": false,
|
|
"taobaoMinigamePlugin": false,
|
|
"category": "network"
|
|
},
|
|
"terrain": {
|
|
"default": ["terrain"],
|
|
"label": "i18n:ENGINE.features.terrain.label",
|
|
"description": "i18n:ENGINE.features.terrain.description",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true,
|
|
"category": "3d"
|
|
},
|
|
"light-probe": {
|
|
"default": ["light-probe"],
|
|
"label": "i18n:ENGINE.features.light_probe.label",
|
|
"description": "i18n:ENGINE.features.light_probe.description",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true,
|
|
"category": "3d"
|
|
},
|
|
"tiled-map": {
|
|
"default": ["tiled-map"],
|
|
"label": "i18n:ENGINE.features.tiled_map.label",
|
|
"description": "i18n:ENGINE.features.tiled_map.description",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true,
|
|
"category": "2d"
|
|
},
|
|
"spine": {
|
|
"default": ["spine"],
|
|
"label": "i18n:ENGINE.features.spine.label",
|
|
"description": "i18n:ENGINE.features.spine.description",
|
|
"native": "USE_SPINE",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": false,
|
|
"category": "2d"
|
|
},
|
|
"dragon-bones": {
|
|
"default": ["dragon-bones"],
|
|
"label": "i18n:ENGINE.features.dragon_bones.label",
|
|
"description": "i18n:ENGINE.features.dragon_bones.description",
|
|
"native": "USE_DRAGONBONES",
|
|
"wechatPlugin": true,
|
|
"taobaoMinigamePlugin": true,
|
|
"category": "2d"
|
|
},
|
|
"marionette": {
|
|
"default": ["marionette"],
|
|
"label": "i18n:ENGINE.features.marionette.label",
|
|
"description": "i18n:ENGINE.features.marionette.description",
|
|
"wechatPlugin": false,
|
|
"taobaoMinigamePlugin": false,
|
|
"category": "animation"
|
|
},
|
|
"procedural-animation": {
|
|
"default": [],
|
|
"label": "i18n:ENGINE.features.procedural_animation.label",
|
|
"description": "i18n:ENGINE.features.procedural_animation.description",
|
|
"wechatPlugin": false,
|
|
"taobaoMinigamePlugin": false,
|
|
"category": "animation"
|
|
},
|
|
"custom-pipeline": {
|
|
"default": [],
|
|
"label": "i18n:ENGINE.features.custom_pipeline.label",
|
|
"description": "i18n:ENGINE.features.custom_pipeline.description",
|
|
"wechatPlugin": false,
|
|
"taobaoMinigamePlugin": false
|
|
}
|
|
},
|
|
"categories": {
|
|
"2d": {
|
|
"label": "i18n:ENGINE.features.categories.2d.label",
|
|
"description": "i18n:ENGINE.features.categories.2d.description"
|
|
},
|
|
"3d": {
|
|
"label": "i18n:ENGINE.features.categories.3d.label",
|
|
"description": "i18n:ENGINE.features.categories.3d.description"
|
|
},
|
|
"animation": {
|
|
"label": "i18n:ENGINE.features.categories.animation.label",
|
|
"description": "i18n:ENGINE.features.categories.animation.description"
|
|
},
|
|
"network": {
|
|
"label": "i18n:ENGINE.features.categories.network.label",
|
|
"description": "i18n:ENGINE.features.categories.network.description"
|
|
}
|
|
}
|
|
}
|