ARObjectSync_Example Class |
Namespace: SimpleDemos
The ARObjectSync_Example type exposes the following members.
Name | Description | |
---|---|---|
ARObjectSync_Example | Initializes a new instance of the ARObjectSync_Example class |
Name | Description | |
---|---|---|
SpawnWorldOrigin |
Spawns the world origin cloud anchor after the world origin object visualizer has been created (blue cube)
| |
Start |
Called on start up - creates the world origin at the origin. For simplicity, this demo creates the origin at the exact location the
AR user starts at, which may cause issues if the AR user starts in one location and then moves to another area and begins creating
objects - the objects may be far from the PC user in this case.
For a better representation of accurate world origin creation, check out the ARWorldOrigin demo.
| |
Update |
Update function - gets touch and creates objects
|
Name | Description | |
---|---|---|
m_DisplayInformation | Text that displays scene information to the user | |
m_PCCamera | Camera for the PC User | |
m_TouchPosition | Vector2 position of last touch |