C# Class TangoDynamicMesh, project-tango-poc

Updates a mesh dynamically based on the ITango3DReconstruction callbacks. The "mesh" that is updated by TangoDynamicMesh is actually a collection of children split along grid boundaries. If you want these children to draw or participate in physics, attach a MeshRenderer or MeshCollider to this object. Any generated children will get copies of the MeshRenderer or MeshCollider or both.
Inheritance: MonoBehaviour, ITango3DReconstruction
ファイルを表示 Open project: stetro/project-tango-poc Class Usage Examples

Public Properties

Property Type Description
m_enableDebugUI bool

Public Methods

Method Description
Awake ( ) : void

Unity Awake callback.

Clear ( ) : void

Clear the dynamic mesh's internal meshes. NOTE: This does not clear the 3D Reconstruction's state. To do that call TangoApplication.Tango3DRClear().

OnGUI ( ) : void

Displays statistics and diagnostics information about the meshing cubes.

OnTango3DReconstructionGridIndicesDirty ( List gridIndexList ) : void

Called when the 3D reconstruction is dirty.

Update ( ) : void

Unity Update callback.

Method Details

Awake() public method

Unity Awake callback.
public Awake ( ) : void
return void

Clear() public method

Clear the dynamic mesh's internal meshes. NOTE: This does not clear the 3D Reconstruction's state. To do that call TangoApplication.Tango3DRClear().
public Clear ( ) : void
return void

OnGUI() public method

Displays statistics and diagnostics information about the meshing cubes.
public OnGUI ( ) : void
return void

OnTango3DReconstructionGridIndicesDirty() public method

Called when the 3D reconstruction is dirty.
public OnTango3DReconstructionGridIndicesDirty ( List gridIndexList ) : void
gridIndexList List List of GridIndex objects that are dirty and should be updated.
return void

Update() public method

Unity Update callback.
public Update ( ) : void
return void

Property Details

m_enableDebugUI public_oe property

If set, debugging info is displayed.
public bool m_enableDebugUI
return bool