readGltfTemplate Function
Produce a GraphicTemplate from a glTF asset suitable for use in view decorations.
readGltfTemplate(args: ReadGltfGraphicsArgs): Promise<GltfTemplate | undefined>
@returns a template produced from the glTF asset's default scene, or undefined
if a template could not be produced from the asset.
@see readGltf for more details.
Parameter | Type | Description |
---|---|---|
args | ReadGltfGraphicsArgs |
Returns - Promise<GltfTemplate | undefined>
a template produced from the glTF asset's default scene, or undefined
if a template could not be produced from the asset.
Defined in
- core/frontend/src/tile/GltfReader.ts Line 2100
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.