33. A reference for the model viewer
| Property / command | Use |
|---|---|
| assetId | The model asset loaded by this GUI element. |
| modelInitialView | front, back, left, right, side, top or bottom. |
| modelStartDistance | 0 for automatic framing; a positive starting distance for manual control. |
| modelRotationX / Y / Z | Additional authored rotation in degrees. |
| modelPanX / modelPanY | Authored viewing-target offsets. |
| modelFov | Viewer camera field of view. |
| modelInteractive | Master player-control switch. |
| modelMouseRotate / Pan / Resize | Orbit, pan and zoom permissions. |
| modelAnimated / modelAnimation | Playback enable and embedded clip name. |
| modelAnimationLoop / Speed | Clip repeat and speed. |
| CenterGUIModel | Shared action: guiId, elementId. |
| PlayGUIModelAnimation | Shared action: guiId, elementId, animation, loop, speed. |
The designer uses readable labels for these fields. Scripts and property actions use the exact property keys. For example, the Zoom Model switch corresponds to modelMouseResize.
Temporary orbit, pan and zoom are viewer interaction state. They are not the same values as the authored Rotation or View Offset fields.
When swapping a model, verify its clip names and framing again. The element ID can remain stable while the asset behind it changes.
