C# 클래스 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.
상속: MonoBehaviour, ITango3DReconstruction
파일 보기 프로젝트 열기: stetro/project-tango-poc 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_enableDebugUI bool

공개 메소드들

메소드 설명
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.

메소드 상세

Awake() 공개 메소드

Unity Awake callback.
public Awake ( ) : void
리턴 void

Clear() 공개 메소드

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
리턴 void

OnGUI() 공개 메소드

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

OnTango3DReconstructionGridIndicesDirty() 공개 메소드

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.
리턴 void

Update() 공개 메소드

Unity Update callback.
public Update ( ) : void
리턴 void

프로퍼티 상세

m_enableDebugUI 공개적으로 프로퍼티

If set, debugging info is displayed.
public bool m_enableDebugUI
리턴 bool