Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Helpers > API/Plugins/PCG/Helpers/PCGSettingsHelpers__GetValue
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Helpers/PCGSettingsHelpers.h |
| Include | #include "Helpers/PCGSettingsHelpers.h" |
namespace PCGSettingsHelpers
{
template<typename T, typename TEnableIf<!TIsEnumClass< T >::Value >::Type *>
T PCGSettingsHelpers::GetValue
(
const FName & InName,
const T & InValue,
const UPCGParamData * InParams,
PCGMetadataEntryKey InKey
)
}
Remarks
Utility function to get the value of type T from a param data or a default value
Specialized versions for enums
Parameters
| Name | Description |
|---|---|
| InName | Attribute to get from the param |
| InValue | Default value to return if the param doesn't have the given attribute |
| InParams | ParamData to get the value from. |
| InKey | Metadata Entry Key to get the value from. |