Module |
|
Header |
/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Public/DataRegistrySubsystem.h |
Include |
#include "DataRegistrySubsystem.h" |
Source |
/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Private/DataRegistrySubsystem.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category=DataRegistry, Meta=(ExpandEnumAsExecs="OutResult"))
static void EvaluateDataRegistryCurve
(
FDataRegistryId ItemId,
float InputValue,
float DefaultValue,
EDataRegistrySubsystemGetItemResult & OutResult,
float & OutValue
)
Attempts to evaluate a curve stored in a DataRegistry cache using a specific input value
Parameter |
Description |
---|---|
ItemID |
Item identifier to lookup in cache |
InputValue |
Time/level/parameter input value used to evaluate curve at certain position |
DefaultValue |
Value to use if no curve found or input is outside acceptable range |
OutValue |
Result will be replaced with evaluated value, or default if that fails |