Gltf
Gltf
is a component that allows you to load a GLTF model into the world.
Syntax
<Gltf url={url} />
Parameters
All objects share the same base parameters from ComponentObjectProps
.
Name | Type | Description |
---|---|---|
url | string | The URL of the GLTF model to load, it could be an asset_id or a remote URL. |
bloom | boolean | Whether use bloom effect. |
Example
<Gltf url="glb url" />
Available on: Client Server