Handles the background mesh and displays the camera iamge.
More...
Handles the background mesh and displays the camera iamge.
◆ DisplayBackground()
void ManoVisualization.DisplayBackground |
( |
Texture2D |
backgroundTexture, |
|
|
MeshRenderer |
backgroundMeshRenderer |
|
) |
| |
|
inlineprivate |
Projects the texture received from the camera as the background
- Parameters
-
backgroundTexture | Requires the texture captured from the camera |
backgroundMeshRenderer | Requires the MeshRenderer that the texture will be displayed |
◆ HandleVisualizationOfUpdatedFrame()
void ManoVisualization.HandleVisualizationOfUpdatedFrame |
( |
| ) |
|
|
inlineprivate |
Update the visualization after the manomotion frame is processed by the SDK.
◆ InstantiateManomotionMeshes()
void ManoVisualization.InstantiateManomotionMeshes |
( |
| ) |
|
|
inlineprivate |
Creates the meshes needed by the different Manomotion Layers and also parents them to the scene's Main Camera
◆ SetHandsSupportedByLicence()
void ManoVisualization.SetHandsSupportedByLicence |
( |
| ) |
|
|
inlineprivate |
Set the maximum number of hands that can be simultaneously detected by Manomotion Manager based on the licence, only 1 hand is supporetd.
◆ Start()
void ManoVisualization.Start |
( |
| ) |
|
|
inlineprivate |
◆ ToggleObjectVisibility()
void ManoVisualization.ToggleObjectVisibility |
( |
GameObject |
givenObject | ) |
|
|
inlineprivate |
Toggles the visibility of the given gameobject
- Parameters
-
givenObject | Requires a gameObject |
◆ _backgroundMeshRenderer
MeshRenderer ManoVisualization._backgroundMeshRenderer |
|
private |
◆ _showBackgroundLayer
bool ManoVisualization._showBackgroundLayer |
|
private |
◆ cam
Camera ManoVisualization.cam |
|
private |
◆ handsSupportedByLicence
int ManoVisualization.handsSupportedByLicence = 1 |
|
private |
◆ manomotionGenericLayerPrefab
GameObject ManoVisualization.manomotionGenericLayerPrefab |
|
private |
◆ ShowBackgroundLayer
bool ManoVisualization.ShowBackgroundLayer |
|
getset |
The documentation for this class was generated from the following file: