-
Notifications
You must be signed in to change notification settings - Fork 2
Minimap
Dan Vonk edited this page Jul 17, 2021
·
2 revisions
The minimap visualization widget allows users of VIAProMa to get a quick overview of the scene and where the objects are placed.
The minimap can be spawned like any regular visualization, through the visualization shelf.
In the inspector pane of the minimap prefab, users can adjust several parameters:
- Min Scale: By default this is set to 0.01 but any value between zero and one can be used. A scale of 0.01 means that the miniature representation appearing will be 0.01x the size of its real object in the scene
- Max Scale: Similar to the parameter above, this sets the maximum scale an object will be represented at. Objects will be represented at a maximum scale when there is only one object in the scene, or the objects are very close to each other.
- Y Offset: Because some objects are taller than others, the user can adjust the offset from these objects to the board. This prevents the mini-objects colliding with the surface of the minimap.
The Minimap prefab uses several references to GameObjects. These should be set by default, but they are repeated here for documentational purposes:
- Min Corner: This is an empty GameObject that marks the lower left corner of the minimap.
- Max Corner: This is an empty GameObject that marks the upper right (and above) corner of the minimap.
- Minimap Legend: This is a instance of the prefab 'MinimapLegend'. It shows the current scale of the minimap, in the upper-right corner.
- Miniobject Prefabs: The minimap visualization does not use live clones of the GameObjects for their miniature representations as these would quickly become cluttered. Instead, there are several pre-defined mini-prefabs for each of the visualization widgets. If you wish to create a new visualization widget, create a new miniprefab for it and add it to this list, otherwise a default object will be chosen to represent it in the minimap.
-
User Manual
-
Code Documentation