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 FGeometryCollectionRepStateData
Remarks
Replicated state data for a geometry collection when bEnableReplication is true for that component. State data means what is broken and what is not See UGeomtryCollectionComponent::UpdateRepData
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8 | bIsRootAnchored | Is the root particle of the GC currently anchored could possibily change in the future to also be a bit array | |
| TBitArray | BrokenState | Broken state of each piece of the GC | |
| TArray< FReleasedData > | ReleasedData | ||
| int32 | Version | Version for fast comparison |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | HasChanged
(
const FGeometryCollectionRepStateData& BaseData |
Check if the data has changed. | |
| bool | Identical
(
const FGeometryCollectionRepStateData* Other, |
Just test version to skip having to traverse the whole pose array for replication. | |
| bool | NetSerialize
(
FArchive& Ar, |
||
| void | Reset () |
||
| bool | Mark a transform as broken nd return true if this was a state change |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FReleasedData | This represents the data for when a particle is released from its parent cluster this data is added when the particle is released but will be cleared after a while so that late client will not replay the break as it is in their past |