Centers the geometry.
Optional
offset: Vector3returns the offset applied to the geometry
Optional
keepWorldPosition: booleanUpdates the attached meshes, so that the world position of the geometry remains the same.
Optional
setDirty: booleanDisposes the geometry from the GPU. Set force to false if not sure the geometry is used by any object in the scene. // todo add check for visible in scene also? or is that overkill
Optional
force: booleanwhen true, same as three.js dispose. when false, only disposes if disposeOnIdle not false and not used by any object in the scene. default: true
Optional
options: IGeometrySetDirtyOptions
An object that can be used to store custom data about the BufferGeometry. It should not hold references to functions as these will not be cloned.