Skip to content

Commit

Permalink
Update docs/manual/03_modules/02_spatial/02_spatialXRInput.md
Browse files Browse the repository at this point in the history
  • Loading branch information
armando-salazar authored Jun 10, 2024
1 parent 05f27ba commit 8dd7211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/manual/03_modules/02_spatial/02_spatialXRInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Since this engine is immersive-first, the abstractions of easily unifying all th

The first component to introduce is the `InputSourceComponent` which stores the input source information according to the WebXR `XRInputSource` interface, as well as generalized accessor for current button states and entity intersections.

If the input source is spatial, it will have a TransformComponent and `XRSpaceComponent`, which stores the spatial infromation about the source.
If the input source is spatial, it will have a `TransformComponent` and `XRSpaceComponent`, which stores the spatial information about the source.

If the input source originates from a pointer (mouse or touch), it will store this information in an `InputPointerComponent`, which also stores a reference to the HTML canvas object it originated from.

Expand Down

0 comments on commit 8dd7211

Please sign in to comment.