Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
TDataWriteReference provides write access to a shared parameter reference.
| Name | TDataWriteReference |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataReference.h |
| Include Path | #include "MetasoundDataReference.h" |
Syntax
template<typename DataType>
class TDataWriteReference : public Metasound::TDataReference< DataType >
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TDataWriteReference
(
const TDataReference< DataType >& InDataReference |
Create a writable ref from a blank parameter ref. | MetasoundDataReference.h | |
TDataWriteReference
(
const TDataWriteReference< DataType >& Other |
Enable copy constructor | MetasoundDataReference.h | |
TDataWriteReference
(
TDataWriteReference< DataType >&& Other |
Enable move constructor | MetasoundDataReference.h | |
TDataWriteReference
(
EDataRefShouldConstruct InToken, |
Construct operator with no arguments if the DataType has a default constructor. | MetasoundDataReference.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DataType * Get() |
Non-const access to the underlying parameter object. | MetasoundDataReference.h |
Overridden from IDataReference
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TUniquePtr< IDataReference > Clone() |
Create a clone of this parameter reference. | MetasoundDataReference.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TDataWriteReference< DataType > CreateNew
(
ArgTypes&&... Args |
This should be used to construct a new DataType object and return this TDataWriteReference as a wrapper around it. | MetasoundDataReference.h | |
static TDataWriteReference CreateNewDerived
(
ArgTypes&&... Args |
MetasoundDataReference.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DataType & operator*() |
Non-const access to the underlying parameter object. | MetasoundDataReference.h | |
TDataWriteReference< DataType > & operator=
(
const TDataWriteReference< DataType >& Other |
Enable assignment operator. | MetasoundDataReference.h | |
TDataWriteReference< DataType > & operator=
(
TDataWriteReference< DataType >&& Other |
Enable move operator. | MetasoundDataReference.h | |
DataType * operator->() |
Non-const access to the underlying parameter object. | MetasoundDataReference.h |