Navigation
API > API/Plugins > API/Plugins/GeometryCollectionNodes
Editor Fracture Mode / Fracture / Mesh tool Fracture using the shape of a chosen static mesh and/or array of dynamic meshes
| Name | FMeshCutterDataflowNode |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/GeometryCollectionPlugin/Source/GeometryCollectionNodes/Public/Dataflow/GeometryCollectionFracturingNodes.h |
| Include Path | #include "Dataflow/GeometryCollectionFracturingNodes.h" |
Syntax
USTRUCT (Meta=(DataflowGeometryCollection))
struct FMeshCutterDataflowNode : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FMeshCutterDataflowNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMeshCutterDataflowNode
(
const UE::Dataflow::FNodeParameters& InParam, |
Dataflow/GeometryCollectionFracturingNodes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers | |
|---|---|---|---|---|---|
| AddSamplesForCollision | bool | 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/GeometryCollectionFracturingNodes.h |
|
|
| BoundingBox | DATAFLOW_NODE_DEFINE_INTERNAL(FMeshCutterDataflowNode, "MeshCutter", "GeometryCollection | Fracture", "") public FBox | Collection to cut Boundingbox to create the cutting planes in | Dataflow/GeometryCollectionFracturingNodes.h |
|
| bRandomOrientation | bool | Whether to randomly vary the orientation of the cutting meshes | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| bUseHiRes | bool | If using a Static Mesh to cut, attempt to use the Nanite HiRes source mesh, if available and non-empty. | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| ChanceToFracture | float | Chance to fracture each selected bone. If 0, no bones will fracture; if 1, all bones will fracture. | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| CollisionSampleSpacing | float | 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 | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| CutDistribution | EMeshCutterCutDistribution | How to arrange the mesh cuts in space | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| CuttingDynamicMeshes | TArray< TObjectPtr< UDynamicMesh > > | Dynamic Meshes to cut with | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| CuttingStaticMesh | TObjectPtr< UStaticMesh > | Static Mesh to cut with | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| GridX | int32 | Number of meshes to add to grid in X | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| GridY | int32 | Number of meshes to add to grid in Y | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| GridZ | int32 | Number of meshes to add to grid in Z | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| LODLevel | int32 | If using a Static Mesh to cut, and not using the Nanite HiRes source mesh, use this LOD level's mesh | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| MaxScaleFactor | float | Maximum scale factor to apply to cutting meshes. A random scale will be chosen between Min and Max | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| MinScaleFactor | float | Minimum scale factor to apply to cutting meshes. A random scale will be chosen between Min and Max | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| NewGeometryTransformSelection | FDataflowTransformSelection | Fractured Pieces | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| NumberToScatter | int32 | Number of meshes to random scatter | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| PerCutMeshSelection | EMeshCutterPerCutMeshSelection | When there are multiple cutting meshes, how to choose the cut mesh to apply at each location | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| PitchRange | float | Pitch will be chosen between -Range and +Range | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| RandomSeed | int32 | Seed for random | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| RollRange | float | Roll will be chosen between -Range and +Range | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| SplitIslands | bool | Whether to split the fractured mesh pieces based on geometric connectivity after fracturing | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| Transform | FTransform | Transform to apply to cut planes | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| TransformSelection | FDataflowTransformSelection | The selected pieces to cut | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| Variability | float | Magnitude of random displacement to cutting meshes | Dataflow/GeometryCollectionFracturingNodes.h |
|
|
| YawRange | float | Yaw will be chosen between -Range and +Range | Dataflow/GeometryCollectionFracturingNodes.h |
|
Functions
Public
Overridden from FDataflowNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Evaluate
(
UE::Dataflow::FContext& Context, |
Dataflow/GeometryCollectionFracturingNodes.h |