Navigation
API > API/Runtime > API/Runtime/Engine
This component lets us store replicated information about how any particular UPrimitiveComponent should be attached to its parent cluster union. The benefits of using a separate components are:
1) It lets us avoid adding any additional overhead into the UPrimitiveComponent. 2) It lets the replicated information have the same net relevancy as the actor being added to the cluster union rather than having the same net relevancy as the cluster union (i.e. in the case of replicating this data in an array in the ClusterUnionComponent). 3) It lets us pinpoint what exactly is being added/removed (vs if all this data was stored in an array) which lets us be a bit more efficient in terms of modifying the cluster union.
| Name | UClusterUnionReplicatedProxyComponent |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ClusterUnionReplicatedProxyComponent.h |
| Include Path | #include "PhysicsEngine/ClusterUnionReplicatedProxyComponent.h" |
Syntax
UCLASS (MinimalAPI)
class UClusterUnionReplicatedProxyComponent : public UActorComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UClusterUnionReplicatedProxyComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UClusterUnionReplicatedProxyComponent
(
const FObjectInitializer& ObjectInitializer |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsPendingDeletion | bool | PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
| bNetUpdateChildClusteredComponent | bool | PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
| bNetUpdateParentClusterUnion | bool | PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
| bNetUpdateParticleBoneIds | bool | PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
| bNetUpdateParticleChildToParents | bool | PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
| ChildClusteredComponent | TWeakObjectPtr< UPrimitiveComponent > | PhysicsEngine/ClusterUnionReplicatedProxyComponent.h |
|
|
| DeferSetChildToParentHandle | FTimerHandle | PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
| LastSyncedBoneIds | TSet< int32 > | PhysicsEngine/ClusterUnionReplicatedProxyComponent.h |
|
|
| ParentClusterUnion | TWeakObjectPtr< UClusterUnionComponent > | PhysicsEngine/ClusterUnionReplicatedProxyComponent.h |
|
|
| ParticleBoneIds | TArray< int32 > | PhysicsEngine/ClusterUnionReplicatedProxyComponent.h |
|
|
| ParticleChildToParents | TArray< FTransform > | PhysicsEngine/ClusterUnionReplicatedProxyComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPrimitiveComponent * GetChildClusteredComponent() |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
UClusterUnionComponent * GetParentClusterUnionComponent() |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
const TArray< int32 > & GetParticleBoneIds() |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
const TArray< FTransform > & GetParticleChildToParents() |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
bool IsPendingDeletion() |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
void MarkPendingDeletion() |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
void ResetTransientState() |
Reinitialize the internal transient state of the replicated proxy | PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | |
void SetChildClusteredComponent
(
UPrimitiveComponent* InComponent |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
void SetParentClusterUnion
(
UClusterUnionComponent* InComponent |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
void SetParticleBoneIds
(
const TArray< int32 >& InIds |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
void SetParticleChildToParent
(
int32 BoneId, |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EndPlay
(
const EEndPlayReason::Type EndPlayReason |
Ends gameplay for this component. Called from AActor::EndPlay only if bHasBegunPlay is true | PhysicsEngine/ClusterUnionReplicatedProxyComponent.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetLifetimeReplicatedProps
(
TArray< FLifetimeProperty >& OutLifetimeProps |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
virtual void PostRepNotifies() |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void OnRep_ChildClusteredComponent() |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
void OnRep_ParentClusterUnion() |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
void OnRep_ParticleBoneIds() |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h | ||
void OnRep_ParticleChildToParents() |
PhysicsEngine/ClusterUnionReplicatedProxyComponent.h |