Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/FCameraEvaluationContextStack
Description
Tries to add a context inside the given context. This will query the active context's director in order to find an "available spot" for the child context.
| Name | AddChildContext |
| Type | function |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Core/CameraEvaluationContextStack.h |
| Include Path | #include "Core/CameraEvaluationContextStack.h" |
| Source | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Private/Core/CameraEvaluationContextStack.cpp |
bool AddChildContext
(
TSharedRef < FCameraEvaluationContext > Context,
TSharedPtr < FCameraEvaluationContext > ParentContext
)
Whether the child context was acccepted.
Parameters
| Name | Remarks |
|---|---|
| Context | The new context to activate. |
| ParentContext | The parent context to activate inside of, or the active context (if any) if null. |