Navigation
API > API/Runtime > API/Runtime/Engine
Imported spreadsheet table as curves.
| Name | UCurveTable |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/CurveTable.h |
| Include Path | #include "Engine/CurveTable.h" |
Syntax
UCLASS (MinimalAPI, Meta=(LoadBehavior="LazyOnDemand"))
class UCurveTable :
public UObject ,
public FCurveOwnerInterface
Inheritance Hierarchy
- FCurveOwnerInterface → UCurveTable
- UObjectBase → UObjectBaseUtility → UObject → UCurveTable
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCurveTable
(
const FObjectInitializer& ObjectInitializer |
Engine/CurveTable.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnCurveTableChanged | TMulticastDelegate_NoParams< void > | Engine/CurveTable.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| GlobalCachedCurveID | int32 | Engine/CurveTable.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetImportData | TObjectPtr< class UAssetImportData > | Engine/CurveTable.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnCurveTableChangedDelegate | FOnCurveTableChanged | A multicast delegate that is called any time the curve table changes. | Engine/CurveTable.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRichCurve & AddRichCurve
(
FName RowName |
Engine/CurveTable.h | ||
FSimpleCurve & AddSimpleCurve
(
FName RowName |
Engine/CurveTable.h | ||
TArray< FString > CreateTableFromCSVString
(
const FString& InString, |
Create table from CSV style comma-separated string. | Engine/CurveTable.h | |
TArray< FString > CreateTableFromJSONString
(
const FString& InString, |
Create table from JSON string. RowCurve must be defined before calling this function. | Engine/CurveTable.h | |
TArray< FString > CreateTableFromOtherTable
(
const UCurveTable* InTable |
Create table from another Curve Table | Engine/CurveTable.h | |
void DeleteRow
(
FName& CurveName |
Remove a curve row from the table. Note the associated curve will be deleted. | Engine/CurveTable.h | |
virtual void EmptyTable() |
Empty the table info (will not clear RowCurve) | Engine/CurveTable.h | |
FRealCurve * FindCurve
(
FName RowName, |
Function to find the row of a table given its name. | Engine/CurveTable.h | |
FRealCurve * FindCurveUnchecked
(
FName RowName |
High performance version with no type safety | Engine/CurveTable.h | |
FRichCurve * FindRichCurve
(
FName RowName, |
Engine/CurveTable.h | ||
FSimpleCurve * FindSimpleCurve
(
FName RowName, |
Engine/CurveTable.h | ||
ECurveTableMode GetCurveTableMode() |
Engine/CurveTable.h | ||
const TMap< FName, FRichCurve * > & GetRichCurveRowMap () |
Engine/CurveTable.h | ||
const TMap< FName, FRichCurve * > & GetRichCurveRowMap () |
Engine/CurveTable.h | ||
const TMap< FName, FRealCurve * > & GetRowMap () |
Engine/CurveTable.h | ||
const TMap< FName, FRealCurve * > & GetRowMap () |
Engine/CurveTable.h | ||
const TMap< FName, FSimpleCurve * > & GetSimpleCurveRowMap () |
Engine/CurveTable.h | ||
const TMap< FName, FSimpleCurve * > & GetSimpleCurveRowMap () |
Engine/CurveTable.h | ||
FString GetTableAsCSV() |
Output entire contents of table as CSV | Engine/CurveTable.h | |
FString GetTableAsJSON() |
Output entire contents of table as JSON | Engine/CurveTable.h | |
FString GetTableAsString() |
Output entire contents of table as a string | Engine/CurveTable.h | |
FOnCurveTableChanged & OnCurveTableChanged() |
Gets a multicast delegate that is called any time the curve table changes. | Engine/CurveTable.h | |
virtual void RemoveRow
(
FName RowName |
Removes a single row from the CurveTable by name. Just returns if row is not found. | Engine/CurveTable.h | |
| Move the curve to another FName in the table | Engine/CurveTable.h | ||
bool WriteTableAsJSON
(
const TSharedRef< TJsonWriter< CharType, TPrettyJsonPrintPolicy< CharType > > >& JsonWriter, |
Output entire contents of table as JSON. | Engine/CurveTable.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void FinishDestroy() |
Engine/CurveTable.h | ||
virtual void GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
Engine/CurveTable.h | ||
virtual void GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
Engine/CurveTable.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Engine/CurveTable.h | ||
virtual void PostInitProperties() |
Engine/CurveTable.h | ||
virtual void PostLoad() |
Engine/CurveTable.h | ||
virtual void Serialize
(
FArchive& Ar |
Engine/CurveTable.h |
Overridden from FCurveOwnerInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetCurves
(
TAdderReserverRef< FRichCurveEditInfoConst > Curves |
Returns set of curves to edit. Must not release the curves while being edited. | Engine/CurveTable.h | |
| Returns set of curves to query. Must not release the curves while being edited. | Engine/CurveTable.h | ||
| Engine/CurveTable.h | |||
| Returns the owner(s) of the curve | Engine/CurveTable.h | ||
virtual bool HasRichCurves() |
Whether the curves returned by GetCurves are rich or simple curves | Engine/CurveTable.h | |
virtual bool IsValidCurve
(
FRichCurveEditInfo CurveInfo |
Validates that a previously retrieved curve is still valid for editing. | Engine/CurveTable.h | |
virtual void MakeTransactional() |
Called to make curve owner transactional | Engine/CurveTable.h | |
virtual void ModifyOwner() |
Called to modify the owner of the curve | Engine/CurveTable.h | |
virtual void OnCurveChanged
(
const TArray< FRichCurveEditInfo >& ChangedCurveEditInfos |
Called when any of the curves have been changed | Engine/CurveTable.h | |
virtual bool RepointCurveOwner
(
const FPackageReloadedEvent& InPackageReloadedEvent, |
Called during package reload to repoint a curve interface asset | Engine/CurveTable.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FTransactionallySafeCriticalSection & GetCurveTableChangeCriticalSection() |
Engine/CurveTable.h | ||
static int32 GetGlobalCachedCurveID() |
Engine/CurveTable.h | ||
static void InvalidateAllCachedCurves() |
Engine/CurveTable.h | ||
static FName MakeValidName
(
const FString& InString |
Util that removes invalid chars and then make an FName | Engine/CurveTable.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ImportPath_DEPRECATED | FString | The filename imported to create this object. | Engine/CurveTable.h |