Navigation
API > API/Plugins > API/Plugins/GeometryCollectionNodes
VertexWeighted Sampling on a DynamicMesh If VertexWeights input is not connected it uses max weight for every vertex
| Name | FVertexWeightedPointSamplingDataflowNode_v2 |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/GeometryCollectionPlugin/Source/GeometryCollectionNodes/Public/Dataflow/GeometryCollectionSamplingNodes.h |
| Include Path | #include "Dataflow/GeometryCollectionSamplingNodes.h" |
Syntax
USTRUCT (Meta=(DataflowGeometryCollection))
struct FVertexWeightedPointSamplingDataflowNode_v2 : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FVertexWeightedPointSamplingDataflowNode_v2
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVertexWeightedPointSamplingDataflowNode_v2
(
const UE::Dataflow::FNodeParameters& InParam, |
Dataflow/GeometryCollectionSamplingNodes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInvertWeights | bool | Dataflow/GeometryCollectionSamplingNodes.h |
|
|
| MaxNumSamples | int32 | Maximum number of samples requested. If 0 or default value, mesh will be maximally sampled | Dataflow/GeometryCollectionSamplingNodes.h |
|
| MaxSamplingRadius | float | If MaxSampleRadius > SampleRadius, then output sample radius will be in range [SampleRadius, MaxSampleRadius] | Dataflow/GeometryCollectionSamplingNodes.h |
|
| NumSamplePoints | int32 | Number of Sampled positions on the mesh | Dataflow/GeometryCollectionSamplingNodes.h |
|
| RandomSeed | int32 | Random Seed used to initialize sampling strategies | Dataflow/GeometryCollectionSamplingNodes.h |
|
| SampleBarycentricCoords | TArray< FVector > | Barycentric Coordinates of each Sample Point in it's respective Triangle. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| SamplePoints | FDataflowPoints | Sampled positions on the mesh | Dataflow/GeometryCollectionSamplingNodes.h |
|
| SampleRadii | TArray< float > | Sampled radii | Dataflow/GeometryCollectionSamplingNodes.h |
|
| SampleTriangleIDs | TArray< int32 > | Sampled triangleID | Dataflow/GeometryCollectionSamplingNodes.h |
|
| SamplingRadius | float | Desired "radius" of sample points. Spacing between samples is at least 2x this value. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| SizeDistribution | ENonUniformSamplingDistributionMode | SizeDistribution setting controls the distribution of sample radii | Dataflow/GeometryCollectionSamplingNodes.h |
|
| SizeDistributionPower | float | SizeDistributionPower is used to control how extreme the Size Distribution shift is. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| SubSampleDensity | float | Density of subsampling used in Poisson strategy. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| VertexWeights | DATAFLOW_NODE_DEFINE_INTERNAL(FVertexWeightedPointSamplingDataflowNode_v2, "VertexWeightedPointSampling", "PointSampling", "") private TArray< float > | Dataflow mesh to sample points on Weight array, number of elements in the array has to match number of vertices of the TargetMesh | Dataflow/GeometryCollectionSamplingNodes.h |
|
| WeightMode | ENonUniformSamplingWeightMode | Dataflow/GeometryCollectionSamplingNodes.h |
|
Functions
Public
Public Virtual
Overridden from FDataflowNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Evaluate
(
UE::Dataflow::FContext& Context, |
Dataflow/GeometryCollectionSamplingNodes.h |