Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/Core
References
| Module | GameplayCameras |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Core/CameraEventHandler.h |
| Include | #include "Core/CameraEventHandler.h" |
Syntax
template<typename HandlerInterface>
struct TCameraEventHandlerContainer
Remarks
A wrapper struct for a list of listeners waiting to be notified of data changes. A class that can be listened-to should own one of these, and expose it so that listeners can register themselves.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Notify
(
FuncType&& Func, |
Invokes the given callback, with the given parameters, on any registered listener. | |
| void | Register
(
TCameraEventHandler< HandlerInterface >& InOutEventHandler, |
Registers a new listener by linking the given wrapper/handle to the list of listeners. |