Navigation
API > API/Plugins > API/Plugins/GameplayCameras
An assembler class for camera nodes.
| Name | TCameraNodeAssembler |
| Type | class |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Build/CameraAssetAssembleUtils.h |
| Include Path | #include "Build/CameraAssetAssembleUtils.h" |
Syntax
template<typename ParentType, typename NodeType, typename V >
class TCameraNodeAssembler :
public UE::Cameras::TScopedConstruction< ParentType > ,
public UE::Cameras::TCameraObjectInitializer< NodeType > ,
public UE::Cameras::IHasNamedObjectRegistry
Inheritance Hierarchy
- TScopedConstruction → TCameraNodeAssembler
- TCameraObjectInitializer → TCameraNodeAssembler
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TCameraNodeAssembler
(
ParentType& InParent, |
Creates a new instance of this assembler class. | Build/CameraAssetAssembleUtils.h | |
TCameraNodeAssembler
(
EForceReuseCameraNode ForceReuse, |
Build/CameraAssetAssembleUtils.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ThisType | TCameraNodeAssembler< ParentType, NodeType, V > | Build/CameraAssetAssembleUtils.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CameraNode | NodeType * | Build/CameraAssetAssembleUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TCameraNodeAssembler< ThisType, ChildNodeType > AddArrayChild() |
Convenience implementation of AddChild specifically for array nodes. | Build/CameraAssetAssembleUtils.h | |
TCameraNodeAssembler< ThisType, ChildNodeType > AddChild
(
TArray< TObjectPtr< ArrayItemType > > NodeType::* ArrayField |
Adds a child camera node via a public array member field on the camera node. | Build/CameraAssetAssembleUtils.h | |
NodeType * Get() |
Gets the built camera node. | Build/CameraAssetAssembleUtils.h | |
ThisType & Named
(
const TCHAR* InName |
Give a name to the built camera node, to be recalled later. | Build/CameraAssetAssembleUtils.h | |
ThisType & Pin
(
NodeType*& OutPtr |
Pins the built camera node to a given pointer, for being able to later refer to it. | Build/CameraAssetAssembleUtils.h | |
ThisType & SetParameter
(
ParameterType NodeType::* ParameterField, |
Sets the value of a camera parameter field on the camera node. | Build/CameraAssetAssembleUtils.h | |
| Runs a custom setup callback on the camera node. | Build/CameraAssetAssembleUtils.h | ||
ThisType & Setup
(
TFunction< void(NodeType*, FNamedObjectRegistry*)> SetupCallback |
Runs a custom setup callback on the camera node with the named object registry provided. | Build/CameraAssetAssembleUtils.h |
Public Virtual
Overridden from IHasNamedObjectRegistry
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< FNamedObjectRegistry > GetNamedObjectRegistry() |
Gets the named object registry from the parent. | Build/CameraAssetAssembleUtils.h |