Navigation
API > API/Plugins > API/Plugins/GeometryCollectionNodes
Editor Fracture Mode / Fracture / Uniform tool Fracture using a Voronoi diagram with a uniform random pattern, creating fracture pieces of similar volume across the shape.
| Name | FUniformFractureDataflowNode |
| 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 FUniformFractureDataflowNode : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FUniformFractureDataflowNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUniformFractureDataflowNode
(
const UE::Dataflow::FNodeParameters& InParam, |
Dataflow/GeometryCollectionFracturingNodes.h |
Variables
Protected
| 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 |
|
| Amplitude | float | Size of the Perlin noise displacement (in cm). If 0, no noise will be applied | 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 |
|
| Collection | FManagedArrayCollection | Collection to 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 |
|
| Frequency | float | Period of the Perlin noise. Smaller values will create a smoother noise pattern | Dataflow/GeometryCollectionFracturingNodes.h |
|
| GroupFracture | bool | Generate a fracture pattern across all selected meshes. | Dataflow/GeometryCollectionFracturingNodes.h |
|
| Grout | float | Amount of space to leave between cut pieces | Dataflow/GeometryCollectionFracturingNodes.h |
|
| InternalMaterialID | int32 | ID for the material for the newly created internal faces | Dataflow/GeometryCollectionFracturingNodes.h |
|
| Lacunarity | float | Lacunarity of the layers of Perlin noise. | Dataflow/GeometryCollectionFracturingNodes.h |
|
| MaxVoronoiSites | int32 | Maximum Number of Voronoi sites. | Dataflow/GeometryCollectionFracturingNodes.h |
|
| MinVoronoiSites | int32 | Minimum Number of Voronoi sites. | Dataflow/GeometryCollectionFracturingNodes.h |
|
| NewGeometryTransformSelection | FDataflowTransformSelection | Fractured Pieces | Dataflow/GeometryCollectionFracturingNodes.h |
|
| OctaveNumber | int32 | Number of fractal layers of Perlin noise to apply. | Dataflow/GeometryCollectionFracturingNodes.h |
|
| Persistence | float | Persistence of the layers of Perlin noise. | Dataflow/GeometryCollectionFracturingNodes.h |
|
| PointSpacing | float | Distance (in cm) between vertices on cut surfaces where noise is added. | Dataflow/GeometryCollectionFracturingNodes.h |
|
| RandomSeed | int32 | Random number generator seed for repeatability. | 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 | Dataflow/GeometryCollectionFracturingNodes.h |
|
| TransformSelection | FDataflowTransformSelection | Bones to fracture, if not connected it will fracture all the bones | Dataflow/GeometryCollectionFracturingNodes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DATAFLOW_NODE_DEFINE_INTERNAL
(
FUniformFractureDataflowNode, |
Dataflow/GeometryCollectionFracturingNodes.h | ||
FGeometryCollection::StaticType() |
Dataflow/GeometryCollectionFracturingNodes.h |
Overridden from FDataflowNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Evaluate
(
UE::Dataflow::FContext& Context, |
Dataflow/GeometryCollectionFracturingNodes.h |