model-container
Overrides absolute size for a 3D model. The model can be a glTF, glb, obj, or any other supported format. The model will be rescaled to fit to the sizes specified for each axes.
This is the schema for Model Container, the properties of object model-container.
Model Container Attributes
| Attribute | Type | Default | Description | Required |
|---|---|---|---|---|
| x | number | 1 |
Size of the model in the x-axis. | Yes |
| y | number | 1 |
Size of the model in the y-axis. | Yes |
| z | number | 1 |
Size of the model in the z-axis. | Yes |
| uniform | boolean | True |
Whether to scale the model uniformly. | Yes |