API Reference

Class List

pc.ContainerResource

Container for a list of animations, textures, materials and a model.

Summary

Properties

animations

Array of assets of animations in the GLB container.

materials

Array of assets of materials in the GLB container.

textures

Array of assets of textures in the GLB container.

Details

Constructor

ContainerResource(data)

Parameters

dataobject

The loaded GLB data.

Properties

pc.Asset[]animations

Array of assets of animations in the GLB container.

pc.Asset[]materials

Array of assets of materials in the GLB container.

pc.Asset[]textures

Array of assets of textures in the GLB container.