ARMeshFromPlane_Example Class |
Namespace: SimpleDemos
The ARMeshFromPlane_Example type exposes the following members.
Name | Description | |
---|---|---|
ARMeshFromPlane_Example | Initializes a new instance of the ARMeshFromPlane_Example class |
Name | Description | |
---|---|---|
SpawnPlatform |
Sends the vertices of the AR Plane to the new mesh once created
| |
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 and adds a listener for the AR Planes Toggle. For simplicity, this tutorial
creates the origin at the exact location the AR user starts at.
For a better representation of accurate world origin creation, check out the ARWorldOrigin Example.
| |
Update |
Update function - gets touch and creates and sends meshes from AR Planes
|
Name | Description | |
---|---|---|
m_ARPlaneVertices | Vector3 array of the currently selected mesh vertices | |
m_DisplayInformation | Text that displays scene information to the user | |
m_ShowARPlanesToggle | Toggle that sets if AR Planes should be shown | |
m_TouchPosition | Vector2 position of last touch |