Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
Description
Cast a TDataReadReference to a TDataWriteReference.
In general TDataReadReferences should not be converted into TDataWriteReferences unless the caller can be certain that no other TDataWriteReference exists for the underlying parameter. Having multiple TDataWriteReferences to the same parameter can cause confusion behavior as values are overwritten in an underterministic fashion.
| Name | Metasound::WriteCast |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataReference.h |
| Include Path | #include "MetasoundDataReference.h" |
namespace Metasound
{
template<typename DataType>
TDataWriteReference < DataType > Metasound::WriteCast
(
const TDataReadReference < DataType > & InReadableRef
)
}