This shows you the differences between two versions of the page.
| dragengine:modules:dragonscript:behavior_vrhud [2026/08/25 01:35] – created dragonlord | dragengine:modules:dragonscript:behavior_vrhud [2026/08/25 01:39] (current) – dragonlord | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| To use this behavior add it to the element class (typically BaseVRActorClass) and set the designer selector and GuiTheme to use for the Panel. Now you can add other behaviors targeting the ECBehaviorVRHud to add Widget resources to. You can also add and remove panels manually at runtime. | To use this behavior add it to the element class (typically BaseVRActorClass) and set the designer selector and GuiTheme to use for the Panel. Now you can add other behaviors targeting the ECBehaviorVRHud to add Widget resources to. You can also add and remove panels manually at runtime. | ||
| - | The Panel is created with a default size of 1024x1024 . You can change the size using the element property to fit the HUD size to your needs. The size should be should be square to avoid stretching. | + | The Panel is created with a default size of 1024x1024 . You can change the size using the element property to fit the HUD size to your needs. The size of the Hud is always |
| ====== Element Class Properties ====== | ====== Element Class Properties ====== | ||
| Line 26: | Line 26: | ||
| The dimensions of the HUD panel in pixels. | The dimensions of the HUD panel in pixels. | ||
| * Full name: '' | * Full name: '' | ||
| - | * Type: Point | + | * Type: integer |
| - | * Default Value: '' | + | * Default Value: '' |
| - | * Example (*.deeclass): | + | * Example (*.deeclass): |
| ===== guiTheme ===== | ===== guiTheme ===== | ||
| Line 82: | Line 82: | ||
| < | < | ||
| < | < | ||
| - | <point name=' | + | <integer |
| < | < | ||
| < | < | ||