Creates an instance of displaced buffer attribute.
The buffer attribute to be displaced (e.g. the position attribute).
The normals along which the coordinates will be displaced.
The uv coordinates to be used to sample the displacement map.
A texture with the displacement values in 32bit floats.
The buffer attribute to be displaced (e.g. the position attribute).
Resets the displaced buffer attribute to use new buffer attributes or displacement map.
The buffer attribute to be displaced (e.g. the position attribute).
The normals along which the coordinates will be displaced.
The uv coordinates to be used to sample the displacement map.
A texture with the displacement values in 32bit floats.
Generated using TypeDoc
BufferAttribute decorator that displaces on the fly the coordinates in a given attribute using a specified displacement map.