Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Curves
Inheritance Hierarchy
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Curves/CurveBase.h |
Include | #include "Curves/CurveBase.h" |
Syntax
class UCurveBase :
public UObject,
public FCurveOwnerInterface
Remarks
Copyright Epic Games, Inc. All Rights Reserved. Copyright Epic Games, Inc. All Rights Reserved. Defines a curve of interpolated points to evaluate over a given range
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TObjectPtr< class UAssetImportData > | AssetImportData | |
![]() |
FOnUpdateCurve | OnUpdateCurve |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UCurveBase
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< FString > | CreateCurveFromCSVString
(
const FString& InString |
Create curve from CSV style comma-separated string. |
![]() ![]() |
FString | Exports the curve as a JSON string | |
![]() ![]() |
void | GetTimeRange
(
double& MinTime, |
|
![]() ![]() |
void | GetTimeRange
(
float& MinTime, |
Get the time range across all curves |
![]() ![]() |
void | GetValueRange
(
float& MinValue, |
Get the value range across all curves |
![]() ![]() |
void | GetValueRange
(
double& MinValue, |
|
![]() ![]() |
void | ImportFromJSONString
(
const FString& InString, |
Imports the curve data from a JSON string. |
![]() |
void | ResetCurve () |
Reset all curve data |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
Override to ensure we write out the asset import data |
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | |
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Overridden from FCurveOwnerInterface
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TArray< FRichCurveEditInfo > | GetCurves () |
Returns set of curves to query. Must not release the curves while being edited. |
![]() ![]() ![]() |
TArray< FRichCurveEditInfoConst > | GetCurves () |
Returns set of curves to edit. Must not release the curves while being edited. |
![]() ![]() ![]() |
TArray< const UObject * > | GetOwners () |
Returns the owner(s) of the curve |
![]() ![]() |
bool | IsValidCurve
(
FRichCurveEditInfo CurveInfo |
Validates that a previously retrieved curve is still valid for editing. |
![]() ![]() |
void | Called to make curve owner transactional | |
![]() ![]() |
void | ModifyOwner () |
Called to modify the owner of the curve |
![]() ![]() |
void | OnCurveChanged
(
const TArray< FRichCurveEditInfo >& ChangedCurveEditInfos |
Called when any of the curves have been changed |
![]() ![]() ![]() |
bool | RepointCurveOwner
(
const FPackageReloadedEvent& InPackageReloadedEvent, |
Called during package reload to repoint a curve interface asset |
Typedefs
Name | Description |
---|---|
FOnUpdateCurve | Delegate called whenever the curve data is updated. |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FString | ImportPath_DEPRECATED | The filename imported to create this object. |