FAttributeSetInitterDiscreteLevels::PreloadAttributeSetData

Transforms CurveTable data into format more efficient to read at runtime.

Windows
MacOS
Linux

Override Hierarchy

FAttributeSetInitter::PreloadAttributeSetData()

FAttributeSetInitterDiscreteLevels::PreloadAttributeSetData()

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AttributeSet.h

Include

#include "AttributeSet.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AttributeSet.cpp

Syntax

virtual void PreloadAttributeSetData
(
    const TArray< UCurveTable * > & CurveData
)

Remarks

Transforms CurveTable data into format more efficient to read at runtime. UCurveTable requires string parsing to map to GroupName/AttributeSet/Attribute Each curve in the table represents a single attribute's values for all levels. At runtime, we want all attribute values at given level.

This code assumes that your curve data starts with a key of 1 and increases by 1 with each key.

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