UDataRegistrySubsystem::EvaluateDataRegistryCurve

Attempts to evaluate a curve stored in a DataRegistry cache using a specific input value

Windows
MacOS
Linux

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(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

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss