Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection
References
| Module | GeometryCollectionEngine |
| Header | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionComponent.h |
| Include | #include "GeometryCollection/GeometryCollectionComponent.h" |
Syntax
USTRUCT ()
struct FGeometryCollectionRepData
Remarks
Replicated data for a geometry collection when bEnableReplication is true for that component. See UGeomtryCollectionComponent::UpdateRepData
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsRootAnchored | Is the root particle of the GC currently anchored. | |
| TArray< FGeometryCollectionClusterRep > | Clusters | Array of cluster data requires to synchronize clients. | |
| TArray< FGeometryCollectionActivatedCluster > | OneOffActivated | Array of one off pieces that became activated. | |
| TOptional< float > | RepDataReceivedTime | The sim-time that this rep data was received. | |
| int32 | ServerFrame | For Network Prediction Mode we require the frame number on the server when the data was gathered. | |
| int32 | Version | Version counter, every write to the rep data is a new state so Identical only references this version as there's no reason to compare the Poses array. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | HasChanged
(
const FGeometryCollectionRepData& BaseData |
Check if the data has changed. | |
| bool | Identical
(
const FGeometryCollectionRepData* Other, |
Just test version to skip having to traverse the whole pose array for replication. | |
| bool | NetSerialize
(
FArchive& Ar, |
||
| void | Reset () |