Navigation
API > API/Plugins > API/Plugins/UAF > API/Plugins/UAF/FUAFWeakSystemReference
Description
Accesses the variable of the specified name for writing. Note: Sets the proxy variables that will be deferred-transferred to the system on its next ExecuteBindings_WT call. 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. Can be called on any thread.
| Name | WriteVariable |
| Type | function |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/Module/UAFWeakSystemReference.h |
| Include Path | #include "Module/UAFWeakSystemReference.h" |
| Source | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Private/Module/UAFWeakSystemReference.cpp |
EPropertyBagResult WriteVariable
(
const FAnimNextVariableReference & InVariable,
const FAnimNextParamType & InType,
TFunctionRef < void< uint8 >)> InFunction
) const
see EPropertyBagResult
Parameters
| Name | Remarks |
|---|---|
| InVariable | The variable we want to access |
| InType | The type of the variable we want to access |
| InFunction | Function that will be called to allow modification of the variables |