Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
A MetaSound Variable contains a data reference's prior and current value.
| Name | TVariable |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundVariable.h |
| Include Path | #include "MetasoundVariable.h" |
Syntax
template<typename DataType>
struct TVariable
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TVariable () |
MetasoundVariable.h | ||
| MetasoundVariable.h | |||
| MetasoundVariable.h | |||
TVariable
(
const FLiteral& InInitialValue, |
Create a delayed variable. | MetasoundVariable.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FReadReference | TDataReadReference< DataType > | MetasoundVariable.h | |
| FWriteReference | TDataWriteReference< DataType > | MetasoundVariable.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DataReference | TOptional< FReadReference > | MetasoundVariable.h | ||
| DelayedDataReference | TOptional< FWriteReference > | MetasoundVariable.h | ||
| Literal | FLiteral | MetasoundVariable.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BindDataReference
(
FOutputVertexInterfaceData& InVertexData, |
MetasoundVariable.h | ||
void BindDelayedDataReference
(
FOutputVertexInterfaceData& InVertexData, |
MetasoundVariable.h | ||
void CopyReferencedData() |
MetasoundVariable.h | ||
FReadReference GetDataReference() |
Get the current data reference. | MetasoundVariable.h | |
FReadReference GetDelayedDataReference() |
Get the delayed data reference | MetasoundVariable.h | |
void InitDataReference
(
const FOperatorSettings& InOperatorSettings |
MetasoundVariable.h | ||
void InitDelayedDataReference
(
const FOperatorSettings& InOperatorSettings |
MetasoundVariable.h | ||
bool RequiresDelayedDataCopy() |
MetasoundVariable.h | ||
void Reset
(
const FOperatorSettings& InOperatorSettings |
MetasoundVariable.h | ||
void SetDataReference
(
FReadReference InDataReference |
MetasoundVariable.h |