Navigation
API > API/Plugins > API/Plugins/GeometryCollectionNodes > API/Plugins/GeometryCollectionNodes/Dataflow
Inheritance Hierarchy
- FDataflowNode
- FMeshCutterDataflowNode
References
| Module | GeometryCollectionNodes |
| Header | /Engine/Plugins/Experimental/GeometryCollectionPlugin/Source/GeometryCollectionNodes/Public/Dataflow/GeometryCollectionFracturingNodes.h |
| Include | #include "Dataflow/GeometryCollectionFracturingNodes.h" |
Syntax
USTRUCT (Meta=(DataflowGeometryCollection))
struct FMeshCutterDataflowNode : public FDataflowNode
Remarks
Editor Fracture Mode / Fracture / Mesh tool Fracture using the shape of a chosen static mesh
Variables
| Type | Name | Description | ||
|---|---|---|---|---|
| bool | AddSamplesForCollision | If enabled, add extra vertices (without triangles) to the geometry in regions where vertices are spaced too far apart (e.g. across large triangles) These extra vertices will be used as collision samples in particle-implicit collisions, and can help the physics system detect collisions more accurately | ||
| DATAFLOW_NODE_DEFINE_INTERNAL(FMeshCutterDataflowNode, "MeshCutter", "GeometryCollection | Fracture", ... | BoundingBox | Collection to cut Boundingbox to create the cutting planes in | |
| bool | bRandomOrientation | Whether to randomly vary the orientation of the cutting meshes | ||
| bool | bUseHiRes | Output the HiRes representation, if set to true and HiRes doesn't exist it will output empty mesh | ||
| float | ChanceToFracture | Chance to fracture each selected bone. If 0, no bones will fracture; if 1, all bones will fracture. | ||
| float | CollisionSampleSpacing | The number of centimeters to allow between vertices on the mesh surface: If there are gaps larger than this, add additional vertices (without triangles) to help support particle-implicit collisions Only used if Add Samples For Collision is enabled | ||
| EMeshCutterCutDistribution | CutDistribution | How to arrange the mesh cuts in space | ||
| TObjectPtr< UStaticMesh > | CuttingStaticMesh | Mesh to cut with | ||
| int32 | GridX | Number of meshes to add to grid in X | ||
| int32 | GridY | Number of meshes to add to grid in Y | ||
| int32 | GridZ | Number of meshes to add to grid in Z | ||
| int32 | LODLevel | Specifies the LOD level to use | ||
| float | MaxScaleFactor | Maximum scale factor to apply to cutting meshes. A random scale will be chosen between Min and Max | ||
| float | MinScaleFactor | Minimum scale factor to apply to cutting meshes. A random scale will be chosen between Min and Max | ||
| FDataflowTransformSelection | NewGeometryTransformSelection | Fractured Pieces | ||
| int32 | NumberToScatter | Number of meshes to random scatter | ||
| float | PitchRange | Pitch will be chosen between -Range and +Range | ||
| int32 | RandomSeed | Seed for random | ||
| float | RollRange | Roll will be chosen between -Range and +Range | ||
| bool | SplitIslands | Whether to split the fractured mesh pieces based on geometric connectivity after fracturing | ||
| FTransform | Transform | Transform to apply to cut planes | ||
| FDataflowTransformSelection | TransformSelection | The selected pieces to cut | ||
| float | Variability | Magnitude of random displacement to cutting meshes | ||
| float | YawRange | Yaw will be chosen between -Range and +Range |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMeshCutterDataflowNode
(
const UE::Dataflow::FNodeParameters& InParam, |
Overridden from FDataflowNode
| Type | Name | Description | |
|---|---|---|---|
| void | Evaluate
(
UE::Dataflow::FContext& Context, |
Evaluation |