Navigation
BlueprintAPI > BlueprintAPI/GeometryScript > BlueprintAPI/GeometryScript/MeshSampling
Compute a set of sample points lying on the surface of TargetMesh based on the provided sampling Options and NonUniformOptions. The sample points have radii in the range [Options.SamplingRadius, NonUniformOptions.MaxSamplingRadius], and are non-overlapping, ie the distance between two points is always larger than the sum of their respective radii.
Target is Geometry Script Library Mesh Sampling Functions
Inputs
| Type | Name | Description |
|---|---|---|
| exec | In | |
| object | Target Mesh | |
| struct | Options | |
| struct | Non Uniform Options | |
| struct | Vertex Weights | defines a per-vertex weight in range [0,1], these are interpolated to create a scalar field over the mesh triangles which is used to weight the sampling radii |
Outputs
| Type | Name | Description |
|---|---|---|
| exec | Out | |
| transform | Samples | |
| real | Sample Radii | |
| struct | Triangle IDs | |
| object | Target Mesh |