Navigation
API > API/Plugins > API/Plugins/GeometryCollectionNodes
Sets the ExternalCollisions attribute on each selected transform to a primitive shape (sphere / box / capsule) auto-fitted to that bone's geometry bounds. Any existing ExternalCollisions entry on the selected transforms is REPLACED.
Shapes written here flow through the same runtime path used by static-mesh-imported primitive collisions: the GeometryCollection asset must have bImportCollisionFromSource enabled for the simulation to consume them.
Empty/unconnected selection authors the shape on all rigid-leaf transforms.
| Name | FSetExternalCollisionsFromPrimitiveDataflowNode |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/GeometryCollectionPlugin/Source/GeometryCollectionNodes/Public/Dataflow/GeometryCollectionUtilityNodes.h |
| Include Path | #include "Dataflow/GeometryCollectionUtilityNodes.h" |
Syntax
USTRUCT (Meta=(DataflowGeometryCollection, Experimental))
struct FSetExternalCollisionsFromPrimitiveDataflowNode : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FSetExternalCollisionsFromPrimitiveDataflowNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSetExternalCollisionsFromPrimitiveDataflowNode
(
const UE::Dataflow::FNodeParameters& InParam, |
Dataflow/GeometryCollectionUtilityNodes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers | |
|---|---|---|---|---|---|
| bAlignToPrincipalAxis | EditConditionHides bool | Dataflow/GeometryCollectionUtilityNodes.h |
|
||
| DebugDrawRenderSettings | FDataflowNodeDebugDrawSettings | Dataflow/GeometryCollectionUtilityNodes.h |
|
||
| EditCondition | For Box and Capsule: orient the shape along the bone geometry's principal axes (PCA over vertices) for a tighter fit. | Dataflow/GeometryCollectionUtilityNodes.h |
|
||
| OptionalSelectionFilter | DATAFLOW_NODE_DEFINE_INTERNAL(FSetExternalCollisionsFromPrimitiveDataflowNode, "SetExternalCollisionsFromPrimitive", "GeometryCollection | Utilities", "") private FDataflowTransformSelection | Transforms to author the shape on. If unconnected or empty, all rigid-leaf transforms are used. | Dataflow/GeometryCollectionUtilityNodes.h |
|
| Scale | float | Uniform multiplier applied to the auto-fitted shape extents. | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| Shape | EPrimitiveCollisionShapeDataflowEnum | Which primitive shape to author. Size is fitted automatically to each bone's geometry bounds. | Dataflow/GeometryCollectionUtilityNodes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetBoneSelection
(
UE::Dataflow::FContext& Context, |
Dataflow/GeometryCollectionUtilityNodes.h |
Public Virtual
Overridden from FDataflowNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanDebugDraw() |
Dataflow/GeometryCollectionUtilityNodes.h | ||
virtual bool CanDebugDrawViewMode
(
const FName& ViewModeName |
Dataflow/GeometryCollectionUtilityNodes.h | ||
virtual void DebugDraw
(
UE::Dataflow::FContext& Context, |
Dataflow/GeometryCollectionUtilityNodes.h | ||
virtual void Evaluate
(
UE::Dataflow::FContext& Context, |
Dataflow/GeometryCollectionUtilityNodes.h |