Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine
Object allowing for retrieving Chaos Destruction data.
| Name | UChaosDestructionListener |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/ChaosBlueprint.h |
| Include Path | #include "ChaosBlueprint.h" |
Syntax
UCLASS (ClassGroup=(Chaos),
HideCategories=(Object, ActorComponent, Physics, Rendering, Mobility, LOD),
ShowCategories=Trigger, Meta=(BlueprintSpawnableComponent), MinimalAPI)
class UChaosDestructionListener : public USceneComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UChaosDestructionListener
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UChaosDestructionListener
(
const FObjectInitializer& ObjectInitializer |
ChaosBlueprint.h |
Enums
Protected
| Name | Remarks |
|---|---|
| ETaskState | Task state enumeration used to track if there is an async processing task in-flight. |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsBreakingEventListeningEnabled | uint8 | Whether or not collision event listening is enabled. | ChaosBlueprint.h |
|
| bIsCollisionEventListeningEnabled | uint8 | Whether or not collision event listening is enabled. | ChaosBlueprint.h |
|
| bIsRemovalEventListeningEnabled | uint8 | Whether or not removal event listening is enabled. | ChaosBlueprint.h |
|
| bIsTrailingEventListeningEnabled | uint8 | Whether or not trailing event listening is enabled. | ChaosBlueprint.h |
|
| BreakingEventRequestSettings | FChaosBreakingEventRequestSettings | The settings to use for breaking event listening. | ChaosBlueprint.h |
|
| ChaosSolverActors | TSet< TObjectPtr< AChaosSolverActor > > | Which chaos solver actors we're using. If empty, this listener will fallback to the "world" solver. | ChaosBlueprint.h |
|
| CollisionEventRequestSettings | FChaosCollisionEventRequestSettings | The settings to use for collision event listening. | ChaosBlueprint.h |
|
| GeometryCollectionActors | TSet< TObjectPtr< AGeometryCollectionActor > > | Which chaos solver actors we're using. If empty, this listener will fallback to the "world" solver. | ChaosBlueprint.h |
|
| OnBreakingEvents | FOnChaosBreakingEvents | Called when new breaking events are available. | ChaosBlueprint.h |
|
| OnCollisionEvents | FOnChaosCollisionEvents | Called when new collision events are available. | ChaosBlueprint.h |
|
| OnRemovalEvents | FOnChaosRemovalEvents | Called when new trailing events are available. | ChaosBlueprint.h |
|
| OnTrailingEvents | FOnChaosTrailingEvents | Called when new trailing events are available. | ChaosBlueprint.h |
|
| RemovalEventRequestSettings | FChaosRemovalEventRequestSettings | The settings to use for removal event listening. | ChaosBlueprint.h |
|
| TrailingEventRequestSettings | FChaosTrailingEventRequestSettings | The settings to use for trailing event listening. | ChaosBlueprint.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddChaosSolverActor
(
AChaosSolverActor* ChaosSolverActor |
Dynamically adds a chaos solver to the listener. | ChaosBlueprint.h |
|
void AddGeometryCollectionActor
(
AGeometryCollectionActor* GeometryCollectionActor |
Dynamically adds a chaos solver to the listener. | ChaosBlueprint.h |
|
void HandleBreakingEvents
(
const Chaos::FBreakingEventData& BreakingData |
ChaosBlueprint.h | ||
void HandleCollisionEvents
(
const Chaos::FCollisionEventData& CollisionData |
Chaos Event Handlers. | ChaosBlueprint.h | |
void HandleRemovalEvents
(
const Chaos::FRemovalEventData& RemovalData |
ChaosBlueprint.h | ||
void HandleTrailingEvents
(
const Chaos::FTrailingEventData& TrailingData |
ChaosBlueprint.h | ||
bool IsEventListening() |
Returns if the destruction listener is listening to any events. | ChaosBlueprint.h |
|
void RegisterChaosEvents
(
TSharedPtr< FPhysScene_Chaos > Scene |
ChaosBlueprint.h | ||
void RegisterChaosEvents
(
FPhysScene* Scene |
ChaosBlueprint.h | ||
void RemoveChaosSolverActor
(
AChaosSolverActor* ChaosSolverActor |
Dynamically removes a chaos solver from the listener. | ChaosBlueprint.h |
|
void RemoveGeometryCollectionActor
(
AGeometryCollectionActor* GeometryCollectionActor |
Dynamically removes a chaos solver from the listener. | ChaosBlueprint.h |
|
void SetBreakingEventEnabled
(
bool bIsEnabled |
Enables or disables breaking event listening. | ChaosBlueprint.h |
|
void SetBreakingEventRequestSettings
(
const FChaosBreakingEventRequestSettings& InSettings |
Sets breaking event request settings dynamically. | ChaosBlueprint.h |
|
void SetBreakingFilter
(
TSharedPtr< FChaosBreakingEventFilter > InBreakingFilter |
ChaosBlueprint.h | ||
void SetCollisionEventEnabled
(
bool bIsEnabled |
Enables or disables collision event listening. | ChaosBlueprint.h |
|
void SetCollisionEventRequestSettings
(
const FChaosCollisionEventRequestSettings& InSettings |
Sets collision event request settings dynamically. | ChaosBlueprint.h |
|
void SetCollisionFilter
(
TSharedPtr< FChaosCollisionEventFilter > InCollisionFilter |
ChaosBlueprint.h | ||
void SetRemovalEventEnabled
(
bool bIsEnabled |
Enables or disables removal event listening. | ChaosBlueprint.h |
|
void SetRemovalEventRequestSettings
(
const FChaosRemovalEventRequestSettings& InSettings |
Sets removal event request settings dynamically. | ChaosBlueprint.h |
|
void SetRemovalFilter
(
TSharedPtr< FChaosRemovalEventFilter > InRemovalFilter |
ChaosBlueprint.h | ||
void SetTrailingEventEnabled
(
bool bIsEnabled |
Enables or disables trailing event listening. | ChaosBlueprint.h |
|
void SetTrailingEventRequestSettings
(
const FChaosTrailingEventRequestSettings& InSettings |
Sets trailing event request settings dynamically. | ChaosBlueprint.h |
|
void SetTrailingFilter
(
TSharedPtr< FChaosTrailingEventFilter > InTrailingFilter |
ChaosBlueprint.h | ||
void SortBreakingEvents
(
TArray< FChaosBreakingEventData >& BreakingEvents, |
Sorts breaking events according to the given sort method | ChaosBlueprint.h |
|
void SortCollisionEvents
(
TArray< FChaosCollisionEventData >& CollisionEvents, |
Sorts collision events according to the given sort method | ChaosBlueprint.h |
|
void SortRemovalEvents
(
TArray< FChaosRemovalEventData >& RemovalEvents, |
Sorts removal events according to the given sort method. | ChaosBlueprint.h |
|
void SortTrailingEvents
(
TArray< FChaosTrailingEventData >& TrailingEvents, |
Sorts trailing events according to the given sort method | ChaosBlueprint.h |
|
void UnregisterChaosEvents
(
FPhysScene* Scene |
ChaosBlueprint.h | ||
void UnregisterChaosEvents
(
TSharedPtr< FPhysScene_Chaos > Scene |
ChaosBlueprint.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginPlay() |
ChaosBlueprint.h | ||
virtual void EndPlay
(
const EEndPlayReason::Type EndPlayReason |
ChaosBlueprint.h | ||
virtual void TickComponent
(
float DeltaTime, |
ChaosBlueprint.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
ChaosBlueprint.h |