flywave-mapview.tiledataaccessor.getbuffergeometry
Home > @flywave/flywave-mapview > TileDataAccessor > getBufferGeometry
TileDataAccessor.getBufferGeometry() method
Gets the BufferGeometry from the specified object. This function requires the attribute position in BufferGeometry to be set.
Signature:
protected getBufferGeometry(object: THREE.Mesh): THREE.BufferGeometry | undefined;
Parameters
Parameter | Type | Description |
|---|---|---|
object | THREE.Mesh | The object from which to get the geometry. |
Returns:
THREE.BufferGeometry \| undefined
the geometry of the object, or `undefined`<!-- -->.