Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/Core
References
| Module | GameplayCameras |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Core/CameraEvaluationContextStack.h |
| Include | #include "Core/CameraEvaluationContextStack.h" |
Syntax
struct FCameraEvaluationContextStack
Remarks
A simple stack of evaluation contexts. The top one is the active one.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddChildContext
(
TSharedRef< FCameraEvaluationContext > Context |
Tries to add a context inside the active context. | |
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
| TSharedPtr< FCameraEvaluationContext > | Gets the active (top) context. | ||
| void | GetAllContexts
(
TArray< TSharedPtr< FCameraEvaluationContext > >& OutContexts |
Gets all the contexts in the stack, from bottom to top. | |
| bool | HasContext
(
TSharedRef< FCameraEvaluationContext > Context |
Returns whether the given context exists in the stack. | |
| void | Initialize
(
FCameraSystemEvaluator& InEvaluator |
Internal API. | |
| int32 | NumContexts () |
The number of contexts on the stack. | |
| void | |||
| void | PopContext () |
Pop the active (top) context. | |
| void | PushContext
(
TSharedRef< FCameraEvaluationContext > Context |
Push a new context on the stack and instantiate its director. | |
| bool | RemoveContext
(
TSharedRef< FCameraEvaluationContext > Context |
Remove an existing context from the stack. | |
| void | Reset () |
Empties the stack of all contexts. |