PlayCanvas loader for B3DM (Batched 3D Model) tile content. Parses the B3DM header and tables
and loads the embedded GLB with GLTFLoader.
Properties
app: AppBase
The PlayCanvas application the content is created for.
assetOptions: Object | null
Options passed to the container asset, such as glTF parser callbacks.
renderOptions: Object | null
Options passed to the render components created for the content, such as castShadows.
Methods
new B3DMLoader(
// The PlayCanvas application.
app: AppBase
)async parse(
// The raw B3DM file data.
buffer: ArrayBuffer,
// The URL of the content, used to resolve relative resources.
url: string
): Promise<Object>Inherited
From LoaderBase
- Properties