Свойство | Type | Description | |
---|---|---|---|
m_enableOcclusion | bool | ||
m_screenMaterial | Material |
Méthode | Description | |
---|---|---|
CameraImagePointToViewportPoint ( Vector2 pos ) : Vector2 |
Converts a color camera position into its corresponding normalized Unity viewport position. image.
|
|
OnExperimentalTangoImageAvailable ( TangoEnums cameraId ) : void |
This will be called when a new frame is available from the camera. The first scan-line of the color image is reserved for metadata instead of image pixels.
|
|
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 |
Initialize the AR Screen.
|
|
ViewportPointToCameraImagePoint ( Vector2 pos ) : Vector2 |
Converts a normalized Unity viewport position into its corresponding normalized position on the color camera image.
|
Méthode | Description | |
---|---|---|
_CameraUpdateForIntrinsics ( Camera cam, |
Update a camera so its perspective lines up with the color camera's perspective.
|
|
_Frustum ( float left, float right, float bottom, float top, float zNear, float zFar ) : Matrix4x4 | ||
_MeshUpdateForIntrinsics ( Mesh mesh, float uOffset, float vOffset ) : void |
Update a mesh so it can be used for the Video Overlay image plane. The image plane is drawn without any projection or view matrix transforms, so it must line up exactly with normalized screen space. The texture coordinates of the mesh are adjusted so it properly clips the image plane.
|
public CameraImagePointToViewportPoint ( Vector2 pos ) : Vector2 | ||
pos | Vector2 | Normalized position for the 3D viewport. |
Résultat | Vector2 |
public OnExperimentalTangoImageAvailable ( TangoEnums cameraId ) : void | ||
cameraId | TangoEnums | Camera identifier. |
Résultat | void |
public OnTangoPermissions ( bool permissionsGranted ) : void | ||
permissionsGranted | bool | |
Résultat | void |
public OnTangoServiceDisconnected ( ) : void | ||
Résultat | void |
public ViewportPointToCameraImagePoint ( Vector2 pos ) : Vector2 | ||
pos | Vector2 | Normalized position for the 3D viewport. |
Résultat | Vector2 |