Description
UniformPointSampling (v1)
Uniform Sampling on a DynamicMesh
Input(s) : TargetMesh [Intrinsic] - Mesh to sample points on SamplingRadius - Desired "radius" of sample points. Spacing between samples is at least 2x this value. MaxNumSamples - Maximum number of samples requested. If 0 or default value, mesh will be maximally sampled SubSampleDensity - Density of subsampling used in Poisson strategy. Larger numbers mean "more accurate" (but slower) results. RandomSeed - Random Seed used to initialize sampling strategies
Output(s): SamplePoints - Sampled positions on the mesh SampleTriangleIDs - Sampled triangleID SampleBarycentricCoords - Barycentric Coordinates of each Sample Point in it's respective Triangle. NumSamplePoints - Number of Sampled positions on the mesh
Information
| Module | GeometryCollectionNodes |
| Category | PointSampling |
| Type | FUniformPointSamplingDataflowNode |
Inputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| TargetMesh | Mesh to sample points on | TObjectPtr<UDynamicMesh> | None |
| SamplingRadius | Desired "radius" of sample points. Spacing between samples is at least 2x this value. | float | 10.000000 |
| MaxNumSamples | Maximum number of samples requested. If 0 or default value, mesh will be maximally sampled | int32 | 0 |
| SubSampleDensity | Density of subsampling used in Poisson strategy. Larger numbers mean "more accurate" (but slower) results. | float | 10.000000 |
| RandomSeed | Random Seed used to initialize sampling strategies | int32 | 0 |
Outputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| SamplePoints | Sampled positions on the mesh | TArray<FVector> | |
| SampleTriangleIDs | Sampled triangleID | TArray<int32> | |
| SampleBarycentricCoords | Barycentric Coordinates of each Sample Point in it's respective Triangle. | TArray<FVector> | |
| NumSamplePoints | Number of Sampled positions on the mesh | int32 |