Navigation
Unreal Engine C++ API Reference > Runtime > GeometryCollectionEngine
Inheritance Hierarchy
- USceneComponent
- UChaosDestructionListener
References
Module | GeometryCollectionEngine |
Header | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/ChaosBlueprint.h |
Include | #include "ChaosBlueprint.h" |
Syntax
UCLASS (ClassGroup=(Chaos),
HideCategories=(Object, ActorComponent, Physics, Rendering, Mobility, LOD),
ShowCategories=Trigger, Meta=(BlueprintSpawnableComponent), MinimalAPI)
class UChaosDestructionListener : public USceneComponent
Remarks
Object allowing for retrieving Chaos Destruction data.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FThreadSafeBool | bChanged | |
![]() ![]() ![]() ![]() |
uint8: 1 | bIsBreakingEventListeningEnabled | Whether or not collision event listening is enabled. |
![]() ![]() ![]() ![]() |
uint8: 1 | bIsCollisionEventListeningEnabled | Whether or not collision event listening is enabled. |
![]() ![]() ![]() ![]() |
uint8: 1 | bIsRemovalEventListeningEnabled | Whether or not removal event listening is enabled. |
![]() ![]() ![]() ![]() |
uint8: 1 | bIsTrailingEventListeningEnabled | Whether or not trailing event listening is enabled. |
![]() ![]() ![]() ![]() |
FChaosBreakingEventRequestSettings | BreakingEventRequestSettings | The settings to use for breaking event listening. |
![]() |
TSharedPtr< FChaosBreakingEventFilter > | ChaosBreakingFilter | |
![]() |
TSharedPtr< FChaosCollisionEventFilter > | ChaosCollisionFilter | |
![]() |
FTransform | ChaosComponentTransform | |
![]() |
TSharedPtr< FChaosRemovalEventFilter > | ChaosRemovalFilter | |
![]() ![]() ![]() ![]() |
TSet< TObjectPtr< AChaosSolverActor > > | ChaosSolverActors | Which chaos solver actors we're using. If empty, this listener will fallback to the "world" solver. |
![]() |
TSharedPtr< FChaosTrailingEventFilter > | ChaosTrailingFilter | |
![]() ![]() ![]() ![]() |
FChaosCollisionEventRequestSettings | CollisionEventRequestSettings | The settings to use for collision event listening. |
![]() ![]() ![]() ![]() |
TSet< TObjectPtr< AGeometryCollectionActor > > | GeometryCollectionActors | Which chaos solver actors we're using. If empty, this listener will fallback to the "world" solver. |
![]() |
TArray< const FGeometryCollectionPhysicsProxy * > | GeometryCollectionPhysicsProxies | The list of GeometryCollectionPhysicsProxy, used to retrieve destruction events. |
![]() |
float | LastBreakingDataTimeStamp | |
![]() |
float | LastCollisionDataTimeStamp | |
![]() |
float | LastRemovalDataTimeStamp | |
![]() |
float | LastTrailingDataTimeStamp | |
![]() ![]() ![]() |
FOnChaosBreakingEvents | OnBreakingEvents | Called when new breaking events are available. |
![]() ![]() ![]() |
FOnChaosCollisionEvents | OnCollisionEvents | Called when new collision events are available. |
![]() ![]() ![]() |
FOnChaosRemovalEvents | OnRemovalEvents | Called when new trailing events are available. |
![]() ![]() ![]() |
FOnChaosTrailingEvents | OnTrailingEvents | Called when new trailing events are available. |
![]() |
Chaos::FBreakingDataArray | RawBreakingDataArray | |
![]() |
Chaos::FCollisionDataArray | RawCollisionDataArray | The raw data arrays derived from the solvers. |
![]() |
Chaos::FRemovalDataArray | RawRemovalDataArray | |
![]() |
Chaos::FTrailingDataArray | RawTrailingDataArray | |
![]() ![]() ![]() ![]() |
FChaosRemovalEventRequestSettings | RemovalEventRequestSettings | The settings to use for removal event listening. |
![]() |
TSet< Chaos::FPhysicsSolver * > | Solvers | The list of rigid body solvers, used to retrieve destruction events. |
![]() |
FThreadSafeCounter | TaskState | |
![]() ![]() ![]() ![]() |
FChaosTrailingEventRequestSettings | TrailingEventRequestSettings | The settings to use for trailing event listening. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UChaosDestructionListener
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | AddChaosSolverActor
(
AChaosSolverActor* ChaosSolverActor |
Dynamically adds a chaos solver to the listener. |
![]() ![]() ![]() |
void | AddGeometryCollectionActor
(
AGeometryCollectionActor* GeometryCollectionActor |
Dynamically adds a chaos solver to the listener. |
![]() ![]() |
void | BeginPlay () |
|
![]() ![]() |
void | EndPlay
(
const EEndPlayReason::Type EndPlayReason |
|
![]() |
void | HandleBreakingEvents
(
const Chaos::FBreakingEventData& BreakingData |
|
![]() |
void | HandleCollisionEvents
(
const Chaos::FCollisionEventData& CollisionData |
Chaos Event Handlers. |
![]() |
void | HandleRemovalEvents
(
const Chaos::FRemovalEventData& RemovalData |
|
![]() |
void | HandleTrailingEvents
(
const Chaos::FTrailingEventData& TrailingData |
|
![]() ![]() ![]() ![]() |
bool | Returns if the destruction listener is listening to any events. | |
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
|
![]() |
void | RegisterChaosEvents
(
TSharedPtr< FPhysScene_Chaos > Scene |
|
![]() |
void | RegisterChaosEvents
(
FPhysScene* Scene |
|
![]() ![]() ![]() |
void | RemoveChaosSolverActor
(
AChaosSolverActor* ChaosSolverActor |
Dynamically removes a chaos solver from the listener. |
![]() ![]() ![]() |
void | RemoveGeometryCollectionActor
(
AGeometryCollectionActor* GeometryCollectionActor |
Dynamically removes a chaos solver from the listener. |
![]() ![]() ![]() |
void | SetBreakingEventEnabled
(
bool bIsEnabled |
Enables or disables breaking event listening. |
![]() ![]() ![]() |
void | SetBreakingEventRequestSettings
(
const FChaosBreakingEventRequestSettings& InSettings |
Sets breaking event request settings dynamically. |
![]() |
void | SetBreakingFilter
(
TSharedPtr< FChaosBreakingEventFilter > InBreakingFilter |
|
![]() ![]() ![]() |
void | SetCollisionEventEnabled
(
bool bIsEnabled |
Enables or disables collision event listening. |
![]() ![]() ![]() |
void | SetCollisionEventRequestSettings
(
const FChaosCollisionEventRequestSettings& InSettings |
Sets collision event request settings dynamically. |
![]() |
void | SetCollisionFilter
(
TSharedPtr< FChaosCollisionEventFilter > InCollisionFilter |
|
![]() ![]() ![]() |
void | SetRemovalEventEnabled
(
bool bIsEnabled |
Enables or disables removal event listening. |
![]() ![]() ![]() |
void | SetRemovalEventRequestSettings
(
const FChaosRemovalEventRequestSettings& InSettings |
Sets removal event request settings dynamically. |
![]() |
void | SetRemovalFilter
(
TSharedPtr< FChaosRemovalEventFilter > InRemovalFilter |
|
![]() ![]() ![]() |
void | SetTrailingEventEnabled
(
bool bIsEnabled |
Enables or disables trailing event listening. |
![]() ![]() ![]() |
void | SetTrailingEventRequestSettings
(
const FChaosTrailingEventRequestSettings& InSettings |
Sets trailing event request settings dynamically. |
![]() |
void | SetTrailingFilter
(
TSharedPtr< FChaosTrailingEventFilter > InTrailingFilter |
|
![]() ![]() ![]() |
void | SortBreakingEvents
(
UPARAM(ref) TArray< FChaosBreakingEventData >& BreakingEvents, |
Sorts breaking events according to the given sort method |
![]() ![]() ![]() |
void | SortCollisionEvents
(
UPARAM(ref) TArray< FChaosCollisionEventData >& CollisionEvents, |
Sorts collision events according to the given sort method |
![]() ![]() ![]() |
void | SortRemovalEvents
(
UPARAM(ref) TArray< FChaosRemovalEventData >& RemovalEvents, |
Sorts removal events according to the given sort method. |
![]() ![]() ![]() |
void | SortTrailingEvents
(
UPARAM(ref) TArray< FChaosTrailingEventData >& TrailingEvents, |
Sorts trailing events according to the given sort method |
![]() ![]() |
void | TickComponent
(
float DeltaTime, |
|
![]() |
void | UnregisterChaosEvents
(
FPhysScene* Scene |
|
![]() |
void | UnregisterChaosEvents
(
TSharedPtr< FPhysScene_Chaos > Scene |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
ETaskState | Task state enumeration used to track if there is an async processing task in-flight. |