Optional
_Read-only flag to check if a given object is of type BufferGeometry.
Optional
uiAn 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.
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: booleanSame as center but returns a function to undo the centering
Optional
offset: Vector3Optional
keepWorldPosition: 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
Objects in the scene that are using this geometry. This is set in the Object3DManager when the objects are added/removed from the scene. Do not modify this set directly.