Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/Core
References
| Module | GameplayCameras |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Core/ObjectChildrenView.h |
| Include | #include "Core/ObjectChildrenView.h" |
Syntax
template<typename ChildType>
struct TObjectChildrenView
Remarks
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.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| An empty view. | |||
TObjectChildrenView
(
FArrayView&& InArrayView |
Sets the view to the given TArrayView<>. | ||
TObjectChildrenView
(
std::initializer_list< ChildType > InChildren |
Sets the view to pointer storage and adds the given list of children pointers. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| 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. | |
| FIterator | begin () |
||
| FIterator | end () |
||
| bool | IsEmpty () |
Whether this view has any children. | |
| int32 | Num () |
Returns the number of children. | |
| FReverseIterator | rbegin () |
||
| FReverseIterator | rend () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| ChildType | operator[]
(
int32 Index |
Gets the i'th child. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FBaseIterator | |||
| FIterator | |||
| FReverseIterator |
Typedefs
| Name | Description |
|---|---|
| FArray | |
| FArrayView | |
| FStorage |