[page:BufferGeometry geometry] — Surface geometry from which to sample.
[page:Mesh mesh] — Surface mesh from which to sample.
</p>
<p>
Creates a new [name]. If the input geometry is indexed, a non-indexed copy is made. After construction, the sampler is not able to return samples until [page:MeshSurfaceSampler.build build] is called.
[page:BufferGeometry geometry] — Surface geometry from which to sample.
[page:Mesh mesh] — Surface mesh from which to sample.
</p>
<p>
Creates a new [name]. If the input geometry is indexed, a non-indexed copy is made. After construction, the sampler is not able to return samples until [page:MeshSurfaceSampler.build build] is called.