Navigation
API > API/Plugins > API/Plugins/AvalancheSceneTree
| Name | FAvaSceneTree |
| Type | struct |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheSceneTree/Public/AvaSceneTree.h |
| Include Path | #include "AvaSceneTree.h" |
Syntax
USTRUCT ()
struct FAvaSceneTree
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAvaSceneTree() |
AvaSceneTree.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSorted | bool | Whether scene items have been sorted to their latest structure | AvaSceneTree.h | |
| ItemTreeMap | TMap< FAvaSceneItem, FAvaSceneTreeNode > | AvaSceneTree.h | ||
| ObjectToNodeMap | TMap< TPair< FObjectKey, FObjectKey >, FAvaSceneTreeNode > | (Object, Outer) pair to their tree node | AvaSceneTree.h | |
| RootNode | FAvaSceneTreeNode | AvaSceneTree.h | ||
| SceneItems | TArray< FAvaSceneItem > | AvaSceneTree.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FAvaSceneTreeNode * FindObjectTreeNode
(
const UObject* InObject, |
Finds tree node using the object map to avoid FAvaSceneItem allocation ResolveObjects() must've been called for the tree for the object map to be up-to-date. | AvaSceneTree.h | |
const FAvaSceneTreeNode * FindTreeNode
(
const FAvaSceneItem& InItem |
AvaSceneTree.h | ||
FAvaSceneTreeNode * FindTreeNode
(
const FAvaSceneItem& InItem |
AvaSceneTree.h | ||
TArray< AActor * > GetChildActors
(
const AActor* InParentActor |
Returns all resolved child actors of a specified parent actor in the scene tree. | AvaSceneTree.h | |
const FAvaSceneItem * GetItemAtIndex
(
int32 InIndex |
AvaSceneTree.h | ||
FAvaSceneTreeNode & GetOrAddTreeNode
(
const FAvaSceneItem& InItem, |
AvaSceneTree.h | ||
TArray< AActor * > GetRootActors
(
const ULevel* InLevel |
Returns all root actors in this tree | AvaSceneTree.h | |
const FAvaSceneTreeNode & GetRootNode () |
AvaSceneTree.h | ||
| AvaSceneTree.h | |||
int32 GetSceneItemCount() |
AvaSceneTree.h | ||
bool IsSorted() |
AvaSceneTree.h | ||
void PostSerialize
(
const FArchive& Ar |
AvaSceneTree.h | ||
void Reset() |
AvaSceneTree.h | ||
void ResolveObjects
(
UObject* InOuter |
Fills the object to node map for faster look up | AvaSceneTree.h | |
void SortItems() |
Sorts items based on tree item ordering. No-op if the tree is already sorted. | AvaSceneTree.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool CompareTreeItemOrder
(
const FAvaSceneTreeNode* InA, |
AvaSceneTree.h | ||
static const FAvaSceneTreeNode * FindLowestCommonAncestor
(
const TArray< const FAvaSceneTreeNode* >& InItems |
AvaSceneTree.h |