ARRaycast_Example Methods |
The ARRaycast_Example type exposes the following members.
Name | Description | |
---|---|---|
DeselectObject |
Deselects the currently selected object
| |
SelectObject |
Selects the given object
| |
SpawnSphere |
The create object call back for the normal spheres - used to inform the user the sphere was created and to scale it down so it matches the size of the other objects
| |
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 selects or creates objects
|