UI.Model
static void Model(Model model)
This adds a non-interactive Model to the UI panel layout.
Model model | The Model to use. |
static void Model(Model model, Vec2 uiSize, float modelScale)
This adds a non-interactive Model to the UI panel layout, and allows you to specify its size.
Model model | The Model to use. |
Vec2 uiSize | The size this element should take from the layout. |
float modelScale | 0 will auto-scale the model to fit the layout space, but you can specify a different scale in case you’d like a different size. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!