프로퍼티 | 타입 | 설명 | |
---|---|---|---|
m_canvas | Canvas | ||
m_pointCloud | TangoPointCloud, | ||
m_prefabMarker | GameObject | ||
m_prefabTouchEffect |
메소드 | 설명 | |
---|---|---|
OnGUI ( ) : void |
Display simple GUI.
|
|
OnTangoDepthAvailable ( |
This is called each time new depth data is available. On the Tango tablet, the depth callback occurs at 5 Hz.
|
|
OnTangoPermissions ( bool permissionsGranted ) : void |
This is called when the permission granting process is finished.
|
|
OnTangoServiceConnected ( ) : void |
This is called when succesfully connected to the Tango service.
|
|
OnTangoServiceDisconnected ( ) : void |
This is called when disconnected from the Tango service.
|
|
Start ( ) : void |
Unity Start() callback, we set up some initial values here.
|
|
Update ( ) : void |
Updates UI and handles player input.
|
메소드 | 설명 | |
---|---|---|
WorldBoundsToScreen ( Camera cam, Bounds bounds ) : Rect |
Convert a 3D bounding box into a 2D Rect.
|
|
_GetLogginStringFromFrameDeltaTime ( float frameDeltaTime ) : string |
Return a string to get logging of FrameDeltaTime.
|
|
_GetLoggingStringFromFrameCount ( int frameCount ) : string |
Return a string to the get logging from frame count.
|
|
_GetLoggingStringFromPoseStatus ( TangoEnums status ) : string |
Construct readable string from TangoPoseStatusType.
|
|
_GetLoggingStringFromQuaternion ( Quaternion quat ) : string |
Reformat string from quaternion type for data logging.
|
|
_GetLoggingStringFromVec3 ( Vector3 vec ) : string |
Reformat string from vector3 type for data logging.
|
|
_UpdateLocationMarker ( ) : void |
Update location marker state.
|
|
_WaitForDepthAndFindPlane ( Vector2 touchPosition ) : IEnumerator |
Wait for the next depth update, then find the plane at the touch position.
|
public OnTangoDepthAvailable ( |
||
tangoDepth | Tango depth. | |
리턴 | void |
public OnTangoPermissions ( bool permissionsGranted ) : void | ||
permissionsGranted | bool | |
리턴 | void |