docsby gkjohnson
Loading and rendering a tileset
Data courtesy of NASA/JPL-Caltech
On this page

Properties

app: AppBase

group: Entity

cameras: Array<CameraComponent>

assetOptions: Object | null

renderOptions: Object | null

Methods

new TilesRenderer(
	// URL of the root tileset JSON.
	url: string,

	// The PlayCanvas application to create the tiles for.
	app: AppBase
)
addEventListener( type: string, listener: function ): void
hasEventListener( type: string, listener: function ): boolean
removeEventListener( type: string, listener: function ): void
dispatchEvent( event: Object ): void
on( type: string, listener: function ): this
off( type: string, listener: function ): this
hasCamera( camera: CameraComponent ): boolean
setCamera( camera: CameraComponent ): boolean
deleteCamera( camera: CameraComponent ): boolean
forEachLoadedModel(
	// Called with the tile's entity and the tile.
	callback: function
): void
dispose(): void

Inherited