Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph > API/Plugins/UAFAnimGraph/FAnimNextFactoryParams
Description
Push a trait struct onto the specified stack in the graph builder, initialized to the supplied value The trait struct forms part of the created instance's 'public interface' if InMapping is 'All'. If a trait already exists of this type then its values be overriden
| Name | AddTrait |
| Type | function |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/Factory/AnimNextFactoryParams.h |
| Include Path | #include "Factory/AnimNextFactoryParams.h" |
template<typename StructType>
void AddTrait
(
UE::UAF::ETraitVariableMapping InMapping,
int32 InStackIndex,
const StructType & InValue
)