Class HUDPanel
Heads up display panel used to publish a key value pair on the screen. Items added to this need to have their values updated every frame, or else, they will be determined to be stale and removed from the view and re-used for a new entry.
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth
Assembly: solution.dll
Syntax
public class HUDPanel : MonoBehaviour
Fields
Name | Description |
---|---|
contentPanel | The panel that will hold all of the key value panel elements, this reference is needed to be able to hide the panel |
img | The background image of the HUD panel, this reference is needed to be able to hide the panel |
scrollRect | The scroll rect of the HUD panel, this reference is needed to be able to hide the panel |
Methods
Name | Description |
---|---|
RemoveEntries(List<string>) | Removes all of the passed in entries from the HUD |
RemoveEntries(string[]) | Removes all of the passed in entries from the HUD |
RemoveEntry(string) | Removes the key value pair from the HUD |
UpdateEntry(string, string) | Updates (or creates) an entry with the passed in key value pair |