blend-model

Loads a three.js format JSON model containing skeletal animation blending using THREE.BlendCharacter. This is mainly used to represent the hand and Vive controllers.

Example

We can load the model by pointing using the ID to an <a-asset-item> that specifies the src to a file:

<a-scene>
<a-assets>
<a-asset-item id="hand" src="/path/to/hand.json"></a-asset-item>
</a-assets>
<a-entity blend-model="#hand"></a-entity>
</a-scene>

Values

TypeDescription
selectorSelector to an <a-asset-item>
stringurl()-enclosed path to a JSON file

Events

Event NameDescription
model-loadedJSON model was loaded into the scene.