Navigation
API > API/Plugins > API/Plugins/DataRegistry > API/Plugins/DataRegistry/UDataRegistrySubsystem
References
| Module | DataRegistry |
| 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&40;BlueprintCallable, Category&61;DataRegistry, Meta&61;&40;ExpandEnumAsExecs&61;"OutResult"&41;&41;
static void EvaluateDataRegistryCurve
&40;
FDataRegistryId ItemId,
float InputValue,
float DefaultValue,
EDataRegistrySubsystemGetItemResult & OutResult,
float & OutValue
&41;
Remarks
Attempts to evaluate a curve stored in a DataRegistry cache using a specific input value
Parameters
| Name | 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 |