docsby gkjohnson
On this page

Properties

app: AppBase

assetOptions: Object | null

renderOptions: Object | null

Methods

new GLTFLoader(
	// The PlayCanvas application.
	app: AppBase
)

parse

async
async parse(
	// The raw GLTF or GLB file data.
	buffer: ArrayBuffer,

	// The URL of the content, used to resolve relative resources.
	url: string
): Promise<{scene: Entity, container: Asset, gltf: Object, asset: Object}>

Inherited