UChaosGameplayEventDispatcher

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ChaosSolverEngine

Header

/Engine/Source/Runtime/Experimental/ChaosSolverEngine/Public/Chaos/ChaosGameplayEventDispatcher.h

Include

#include "Chaos/ChaosGameplayEventDispatcher.h"

Syntax

class UChaosGameplayEventDispatcher : public UChaosEventListenerComponent

Functions

Name Description

Public function

void

 

RegisterForBreakEvents

(
    UPrimitiveComponent* Component,
    FOnBreakEventCallback InFunc
)

Public function

void

 

RegisterForCollisionEvents

(
    UPrimitiveComponent* Component...,
    UObject* ObjectToNotify
)

Use to subscribe to collision events.

Public function

void

 

UnRegisterForBreakEvents

(
    UPrimitiveComponent* Component
)

Public function

void

 

UnRegisterForCollisionEvents

(
    UPrimitiveComponent* Component...,
    UObject* ObjectToNotify
)

Use to subscribe to collision events.

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

OnRegister()

Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called.

Public function Virtual

void

 

OnUnregister()

Called when a component is unregistered.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss