Navigation
API > API/Plugins > API/Plugins/UAF > API/Plugins/UAF/FUAFWeakSystemReference
Description
Access a variable's value for read only. This performs non-recursive locks on the system instance to ensure that concurrent access is respected, so care must be taken calling this from animation worker tasks as deadlocks can occur. Type must match strictly, no conversions are performed. Can be called on any thread.
| Name | ReadVariable |
| 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 ReadVariable
(
const FAnimNextVariableReference & InVariable,
const FAnimNextParamType & InType,
TFunctionRef < void> InFunction
) const
see EPropertyBagResult
Parameters
| Name | Remarks |
|---|---|
| InVariable | The variable to get the value of |
| InType | The type of the variable |
| InFunction | Function that will be called if no errors occur |