Navigation
API > API/Plugins > API/Plugins/UAF > API/Plugins/UAF/UAnimNextComponent
Description
Accesses a variable for writing. General read access is not provided via this API due to the current double-buffering strategy used to communicate variable writes to worker threads. This is intended to allow for copy-free writing of larger data structures & arrays, rather than read access.
| Name | WriteVariable |
| Type | function |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/Component/AnimNextComponent.h |
| Include Path | #include "Component/AnimNextComponent.h" |
template<typename ValueType>
bool WriteVariable
(
const FAnimNextVariableReference & InVariable,
TFunctionRef < void> InFunction
)
true if the variable was accessed successfully
Parameters
| Name | Remarks |
|---|---|
| InVariable | The variable to set |
| InFunction | The function used to modify the variable, called back immediately on the game thread if the variable exists. |