center_gui_model()
Center GUI Model | Action ID: CenterGUIModel
Fit and center the model displayed inside a GUI 3D model viewer.
| Option key / field | Meaning and accepted input | Default |
|---|---|---|
| GUI guiId | Choose an authored GUI ID. | Blank |
| 3D Model elementId | Choose an element inside the selected GUI. | Blank |
Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.
center_gui_model({"guiId": "hud", "elementId": "topline"})In use. Offer a Reset View button after the player rotates a model. It targets the GUI viewer, not the scene's active gameplay camera or the model's source file.
