Class BufferGeometryLoader

Index

Constructor methods

Methods

Constructor methods

constructor(manager?: LoadingManager): BufferGeometryLoader

Parameters

Returns

BufferGeometryLoader

Methods

public load(url: string, onLoad: (bufferGeometry: THREE.BufferGeometry) => void)

Parameters

  • url: string
  • onLoad: (bufferGeometry: THREE.BufferGeometry) => void

public parse(json: any): BufferGeometry

Parameters

  • json: any

Returns

BufferGeometry

public setCrossOrigin(crossOrigin: string)

Parameters

  • crossOrigin: string