aframe Asset Management System Specifying Response Type


Example

Content fetched by <a-asset-item> will be returned as plain text. If we want to use a different response type such as arraybuffer, use <a-asset-item>'s response-type attribute:

<a-asset-item response-type="arraybuffer" src="model.gltf"></a-asset-item>