XR Origin

XR Origin

XR Origin is the relative origin of camera movement when using a non-0Dof Frame Source.

The following two types of origins can be used:

  1. XR Origin created via EasyAR menu

../_images/image_as3_1.png

This XR Origin is just an empty node with XR Origin Child attached, and has no functionality itself.

  1. XR Origin created via Unity XR menu

../_images/image_as3_2.png

Attention

When using AR Foundation or head-mounted devices, only Unity’s XR Origin can be used.

XR Origin Child

XR Origin Child is a child node of XR Origin. Some objects controlled by the plugin will be created under XR Origin Child by default, rather than directly under XR Origin.

../_images/image_as3_6.png

Note

XR Origin Child does not need to be created in the scene in advance. If not created beforehand, the plugin will create it at runtime. Multiple XR Origin Child nodes can exist, but the plugin will only use one, which is determined when the Session starts.

Create XR Origin

  1. Create EasyAR’s XROrigin via EasyAR menu

Right-click on a blank area in the Hierarchy window to create XR Origin (EasyAR): EasyAR Sense > Origin > Origin: XR Origin (EasyAR)

../_images/image_as3_3.png
  1. Create Unity’s XROrigin via Unity XR menu

Right-click on a blank area in the Hierarchy window to create XR Origin: XR > XR Origin [**]

../_images/image_as3_7.png

Create XR Origin Child

Select XR Origin in the Hierarchy window, then right-click to create XR Origin Child: EasyAR Sense > Origin > Origin: XR Origin Child

../_images/image_as3_4.png ../_images/image_as3_5.png

Note

XR Origin Child does not need to be created in the scene in advance. If not created beforehand, the plugin will create it at runtime.