Skip to main content

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.

NameTypeDescription
urlstringThe URL of the GLTF model to load, it could be an asset_id or a remote URL.
bloombooleanWhether use bloom effect.

Example

<Gltf url="glb url" />

Available on: Client Server