Navigation
API > API/Plugins > API/Plugins/AvalancheTransition > API/Plugins/AvalancheTransition/UAvaTransitionLibrary
Description
Determines whether there are scenes/levels (other than the one from this context) transitioning. Note: this ignores scenes that are transitioning out and to be discarded.
| Name | AreScenesTransitioning |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheTransition/Public/AvaTransitionLibrary.h |
| Include Path | #include "AvaTransitionLibrary.h" |
| Source | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheTransition/Private/AvaTransitionLibrary.cpp |
UFUNCTION (BlueprintPure, Category="Transition Logic", Meta=(DefaultToSelf="InContextObject"))
static bool AreScenesTransitioning
(
UObject * InContextObject,
const FAvaTagHandleContainer & InLayers,
const TArray < TSoftObjectPtr < UWorld > > & InScenesToIgnore
)
true if the given layers have assets that are involved in a transition.
Parameters
| Name | Remarks |
|---|---|
| InContextObject | the context to retrieve the active transition relating to the context. |
| InLayers | the layers to consider |
| InScenesToIgnore | the world assets to ignore |