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-xr
and@galacean/engine-web-xr
are mandatory dependencies for implementing WebXR. In contrast,@galacean/engine-toolkit-xr
is 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-xr
and@galacean/engine-web-xr
must match the version of@galacean/engine
.- The major version of
@galacean/engine-toolkit-xr
must match that of@galacean/engine
.
In this section, you will learn to: