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 (BlueprintCallable, Category=DataRegistry, Meta=(ExpandEnumAsExecs="OutResult"))
static void EvaluateDataRegistryCurve
(
FDataRegistryId ItemId,
float InputValue,
float DefaultValue,
EDataRegistrySubsystemGetItemResult & OutResult,
float & OutValue
)
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 |