<a-collada-model>
优质
小牛编辑
134浏览
2023-12-01
The COLLADA model primitive displays a 3D COLLADA model created from a 3D modeling program or downloaded from the web.
Example
<a-scene> <a-assets> <a-asset-item src="tree.dae"></a-asset-item> </a-assets> <!-- Using the asset management system. --> <a-collada-model src="#tree"></a-collada-model> <!-- Defining the URL inline. Not recommended but more comfortable for web developers. --> <a-collada-model src="tree.dae"></a-collada-model></a-scene> |
Attribute
Attribute | Component Mapping | Default Value |
---|---|---|
src | collada-model.src | null |