API Reference

Class List

pc.ModelHandler

Resource Handler for creating pc.Model resources

Summary

Methods

loadFetch model data from a remote url
openProcess data in deserialized format into a pc.

Details

Constructor

ModelHandler(device)

pc.ResourceHandler use to load 3D model resources

Parameters

devicepc.GraphicsDeviceThe graphics device that will be rendering

Methods

load()

Fetch model data from a remote url

open(data)

Process data in deserialized format into a pc.Model object

Parameters

dataObjectThe data from model file deserialized into a Javascript Object