Cargo Features
bevy_cosmic_edit has no features set by default.
[dependencies]
bevy_cosmic_edit = { version = "0.25.0", features = ["multicam", "webgpu"] }
- multicam
-
Enable to avoid panicing when multiple cameras are used in the same world Requires you to add
CosmicPrimaryCamera
marker component to the primary cameraAffects
bevy_cosmic_edit::CosmicPrimaryCamera
… - webgpu
-
bevy:
Enable support for WebGPU in Wasm. When enabled, this feature will override the
webgl2
feature and you won't be able to run Wasm builds with WebGL2, only with WebGPU.