This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| dragengine:modules:dragonscript:behavior_vrplayspace [2021/09/15 12:55] – created dragonlord | dragengine:modules:dragonscript:behavior_vrplayspace [2025/03/13 17:18] (current) – dragonlord | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{tag> | {{tag> | ||
| <WRAP youarehere> | <WRAP youarehere> | ||
| - | [[: | + | [[: |
| </ | </ | ||
| Line 25: | Line 25: | ||
| This behavior has no element class properties. | This behavior has no element class properties. | ||
| + | |||
| + | ====== Events ====== | ||
| + | |||
| + | ===== playspaceGeometryChanged ===== | ||
| + | |||
| + | Playspace position or orientation changed. | ||
| ====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
| Line 40: | Line 46: | ||
| ====== API Documentation ====== | ====== API Documentation ====== | ||
| - | [[https:// | + | # |
| - | Since DragonScript Module Version | + | Since DragonScript Module Version |
| ====== Use Cases ====== | ====== Use Cases ====== | ||
| Line 60: | Line 66: | ||
| end | end | ||
| end | end | ||
| + | </ | ||
| + | |||
| + | ====== Behavior Factory ====== | ||
| + | |||
| + | Using element class supporting adding behaviors the behavior can be added like this: | ||
| + | <code xml> | ||
| + | <?xml version=' | ||
| + | < | ||
| + | < | ||
| + | <!-- set element properties. omit property prefix if used inside behavior tag --> | ||
| + | <string name=' | ||
| + | </ | ||
| + | </ | ||
| </ | </ | ||