Navigation
API > API/Plugins > API/Plugins/GameplayCameras
A utility class for reading the effective value of variable reference.
| Name | TCameraVariableReferenceReader |
| Type | class |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Core/CameraVariableReferenceReader.h |
| Include Path | #include "Core/CameraVariableReferenceReader.h" |
Syntax
template<typename ValueType>
class TCameraVariableReferenceReader
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Core/CameraVariableReferenceReader.h | |||
TCameraVariableReferenceReader
(
const VariableReferenceType& Reference |
Core/CameraVariableReferenceReader.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DefaultValue | ValueType | The default value for the variable. | Core/CameraVariableReferenceReader.h | |
| VariableID | FCameraVariableID | The ID of the variable, if any. | Core/CameraVariableReferenceReader.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const ValueType & Get
(
const FCameraVariableTable& VariableTable |
Gets the actual value for the referenced variable. | Core/CameraVariableReferenceReader.h | |
void Initialize
(
const VariableReferenceType& Reference |
Initializes the reader around the given variable reference. | Core/CameraVariableReferenceReader.h | |
void Initialize
(
const VariableReferenceType& Reference, |
Initializes the reader around the given variable reference. | Core/CameraVariableReferenceReader.h | |
bool IsDriven() |
Returns whether his reference points to a variable. | Core/CameraVariableReferenceReader.h | |
bool TryGet
(
const FCameraVariableTable& VariableTable, |
Gets the actual value for the referenced variable, or returns false if the variable doesn't have a value yet. | Core/CameraVariableReferenceReader.h |