Skip to main content

9 docs tagged with "assets"

View all tags

HTML/CSS - Live Updates

Edit HTML and CSS assets with live reload so HUD changes appear instantly while the scene keeps running.

Loading an asset at runtime

Load a single asset on demand so unused resources stay off the initial preload list until your script requests them.

Loading Draco Compressed GLBs

Load Draco-compressed GLB models in PlayCanvas with the right pipeline so meshes stay small without breaking rendering.

Loading glTF GLBs

Load glTF GLB files as binary assets at runtime and add the resulting model instance to your PlayCanvas scene hierarchy.

Switching materials at runtime

Swap material assets on render components in code to change colors, shaders, or skins without duplicating mesh entities.

Using the Asset Registry

Find, reference, and stream assets from the registry at runtime instead of relying solely on editor preloads for every file.