Skip to reading
3D Models & Video in GUIs

33. A reference for the model viewer

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
Source table from 33. A reference for the model viewer, page 43
Property / commandUse
assetIdThe model asset loaded by this GUI element.
modelInitialViewfront, back, left, right, side, top or bottom.
modelStartDistance0 for automatic framing; a positive starting distance for manual control.
modelRotationX / Y / ZAdditional authored rotation in degrees.
modelPanX / modelPanYAuthored viewing-target offsets.
modelFovViewer camera field of view.
modelInteractiveMaster player-control switch.
modelMouseRotate / Pan / ResizeOrbit, pan and zoom permissions.
modelAnimated / modelAnimationPlayback enable and embedded clip name.
modelAnimationLoop / SpeedClip repeat and speed.
CenterGUIModelShared action: guiId, elementId.
PlayGUIModelAnimationShared 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.

Page 43 of 45Permalink
Go to page