Creates an instance of displaced buffer geometry.
The goeometry to be displaced.
A texture with the displacement values.
The displacement value range found in the displacement map.
Buffer attribute that will be used for displaced positions if provided, otherwise a new buffer attribute will be created.
The displacement value range found in the displacement map.
Unique number of this buffergeometry instance
The goeometry to be displaced.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Bakes matrix transform directly into vertex coordinates.
Computes and adds tangent attribute to this geometry.
Computes vertex normals by averaging face normals.
Fire an event type.
Disposes the object from memory. You need to call this when you want the bufferGeometry removed while the application is running.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Resets the displaced buffer geometry to use new geometry or displacement map.
The goeometry to be displaced.
A texture with the displacement values.
The displacement value range found in the displacement map.
Generated using TypeDoc
BufferGeometry decorator that displaces on the fly the position attribute using a specified displacement map.