XR is a general term used to describe the concept of Extended Reality, which includes Virtual Reality (VR), Augmented Reality (AR), and Mixed Reality (MR).
Galacean provides a clean and flexible design for XR:
| Package | Description | Related Documentation |
|---|---|---|
@galacean/engine-xr | Core architecture logic | API |
@galacean/engine-web-xr | Backend package | Doc |
@galacean/engine-toolkit-xr | Advanced tool components | Doc |
@galacean/engine-xrand@galacean/engine-web-xrare mandatory dependencies for implementing WebXR. In contrast,@galacean/engine-toolkit-xris not required but simplifies XR development in the editor.
The dependency rules between XR packages follow the version dependency rules:
- The versions of
@galacean/engine-xrand@galacean/engine-web-xrmust match the version of@galacean/engine.- The major version of
@galacean/engine-toolkit-xrmust match that of@galacean/engine.
In this section, you will learn to: