UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FGeometryCollectionEdit Class Reference

#include <GeometryCollectionComponent.h>

Public Member Functions

GEOMETRYCOLLECTIONENGINE_API FGeometryCollectionEdit (UGeometryCollectionComponent *InComponent, GeometryCollection::EEditUpdate EditUpdate=GeometryCollection::EEditUpdate::RestPhysicsDynamic, bool bShapeIsUnchanged=false, bool bPropagateToAllMatchingComponents=true)
 
GEOMETRYCOLLECTIONENGINE_API ~FGeometryCollectionEdit ()
 
GEOMETRYCOLLECTIONENGINE_API UGeometryCollectionGetRestCollection ()
 

Detailed Description

FGeometryCollectionEdit Structured RestCollection access where the scope of the object controls serialization back into the dynamic collection

This will force any simulating geometry collection out of the solver so it can be edited and afterwards will recreate the proxy The update can also be specified to reset the dynamic collection

Constructor & Destructor Documentation

◆ FGeometryCollectionEdit()

FGeometryCollectionEdit::FGeometryCollectionEdit ( UGeometryCollectionComponent InComponent,
GeometryCollection::EEditUpdate  EditUpdate = GeometryCollection::EEditUpdate::RestPhysicsDynamic,
bool  bShapeIsUnchanged = false,
bool  bPropagateToAllMatchingComponents = true 
)
Parameters
InComponentThe component to edit
EditUpdateWhat parts of the geometry collection to update
bShapeIsUnchangedOverride indicating the overall shape of the geometry and clusters is unchanged, even if the rest collection changed. Useful to e.g., not re-compute convex hulls when we don't need to.
bPropagateAcrossComponentsPropagate updates to all components with the same underlying Rest Collection

◆ ~FGeometryCollectionEdit()

FGeometryCollectionEdit::~FGeometryCollectionEdit ( )

Member Function Documentation

◆ GetRestCollection()

UGeometryCollection * FGeometryCollectionEdit::GetRestCollection ( )

The documentation for this class was generated from the following files: