-
Notifications
You must be signed in to change notification settings - Fork 1
Meshes
Matthew LaRocca edited this page Feb 4, 2023
·
2 revisions
Meshes are static geometry that can be rendered in 3D. They are converted from glTF files. Note that currently only glTF separate files are supported.
When specifying meshes in the asset manifest the following properties are supported:
Property | Required | Description |
---|---|---|
src | yes | path to glTF file to convert. |
An example of converting a mesh:
{
"src": "blue_cube/blue_cube.gltf"
},
To specify properties for specific images associated with a mesh, place a file named images.json
in the same directory as the mesh's gltf
file. This file should consist of a top level array describing relevant images. For specific information on supported Image properties refer to: Images. Note: the paths specified in this file are relative to the directory containing the images.json
file.