VirtualElement (Object)
VirtualElement
Parent - Object
| Name | Type | Description |
|---|---|---|
| Element Id | Integer | An unique identifier that can be used to update and remove HUD elements. |
| X Position | Float | The position of this HUD element on the X axis. |
| Y Position | Float | The position of this HUD element on the Y axis. |
| Hidden | Boolean | Whether this HUD element will be hidden or not. |
| Relative | Boolean | If relative is true, "X Position" and "Y Position" should take a normalised and relative to device screen size (0-1). If relative is false,"X Position" and "Y Position" represents the pixel location. |
Study this diagram to determine the difference between
absoluteandrelativepositioning.
