Navigation
API > API/Plugins > API/Plugins/UAF > API/Plugins/UAF/FUAFAssetInstance
Description
Get a variable's value given its name, copying the value to OutResult. If the type does not match exactly then a conversion will be attempted.
| Name | GetVariable |
| Type | function |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/UAFAssetInstance.h |
| Include Path | #include "UAFAssetInstance.h" |
template<typename ValueType>
EPropertyBagResult GetVariable
(
const FAnimNextVariableReference & InVariable,
ValueType & OutResult
) const
see EPropertyBagResult
Parameters
| Name | Remarks |
|---|---|
| InVariable | The variable to get the value of |
| OutResult | Result that will be filled if no errors occur |