Navigation
API > API/Plugins > API/Plugins/GameplayCameras
Structure that describes a list of children of an object.
This structure can either provide a TArrayView<> on an existing container of children, or store within itself a list of arbitrary camera node children.
| Name | TObjectChildrenView |
| Type | struct |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Core/ObjectChildrenView.h |
| Include Path | #include "Core/ObjectChildrenView.h" |
Syntax
template<typename ChildType>
struct TObjectChildrenView
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| An empty view. | Core/ObjectChildrenView.h | ||
TObjectChildrenView
(
FArrayView&& InArrayView |
Sets the view to the given TArrayView<>. | Core/ObjectChildrenView.h | |
TObjectChildrenView
(
std::initializer_list< ChildType > InChildren |
Sets the view to pointer storage and adds the given list of children pointers. | Core/ObjectChildrenView.h | |
TObjectChildrenView
(
TArrayView< OtherType > InRange |
Sets the view to pointer storage and adds the given list of children pointers. | Core/ObjectChildrenView.h |
Structs
| Name | Remarks |
|---|---|
| FBaseIterator | |
| FIterator | |
| FReverseIterator |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FArray | TArray< ChildType, TInlineAllocator< 4 > > | Core/ObjectChildrenView.h | |
| FArrayView | TArrayView< ChildType > | Core/ObjectChildrenView.h | |
| FStorage | TVariant< FArrayView, FArray > | Core/ObjectChildrenView.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Storage | FStorage | Core/ObjectChildrenView.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
typename TCallTraits< ChildType >::ParamType InChild |
Sets the view to pointer storage (if not already done) and adds the given pointer to the list. | Core/ObjectChildrenView.h | |
FIterator begin() |
Core/ObjectChildrenView.h | ||
FIterator end() |
Core/ObjectChildrenView.h | ||
bool IsEmpty() |
Whether this view has any children. | Core/ObjectChildrenView.h | |
int32 Num() |
Returns the number of children. | Core/ObjectChildrenView.h | |
FReverseIterator rbegin() |
Core/ObjectChildrenView.h | ||
FReverseIterator rend() |
Core/ObjectChildrenView.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ChildType operator[]
(
int32 Index |
Gets the i'th child. | Core/ObjectChildrenView.h |