UCurveBase

Defines a curve of interpolated points to evaluate over a given range

Windows
MacOS
Linux

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

Defines a curve of interpolated points to evaluate over a given range

Variables

Name Description

Public variable

UAssetImportDat...

 

AssetImportData

Constructors

Name Description

Public function

UCurveBase

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

TArray< FStr...

 

CreateCurveFromCSVString

(
    const FString& InString
)

Create curve from CSV style comma-separated string.

Public function Const

void

 

GetTimeRange

(
    float& MinTime,
    float& MaxTime
)

Get the time range across all curves

Public function Const

void

 

GetValueRange

(
    float& MinValue,
    float& MaxValue
)

Get the value range across all curves

Public function

void

 

ResetCurve()

Reset all curve data

Overridden from UObject

Name Description

Public function Virtual Const

void

 

GetAssetRegistryTags

(
    TArray< FAssetRegistryTag >& OutTa...
)

Override to ensure we write out the asset import data

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Overridden from FCurveOwnerInterface

Name Description

Public function Virtual Const

TArray< FRic...

 

GetCurves()

Returns set of curves to edit. Must not release the curves while being edited.

Public function Virtual

TArray< FRic...

 

GetCurves()

Returns set of curves to query. Must not release the curves while being edited.

Public function Virtual Const

TArray< cons...

 

GetOwners()

Returns the owner(s) of the curve

Public function Virtual

bool

 

IsValidCurve

(
    FRichCurveEditInfo CurveInfo
)

Validates that a previously retrieved curve is still valid for editing.

Public function Virtual

void

 

MakeTransactional()

Called to make curve owner transactional

Public function Virtual

void

 

ModifyOwner()

Called to modify the owner of the curve

Public function Virtual

void

 

OnCurveChanged

(
    const TArray< FRichCurveEditInfo > ...
)

Called when any of the curves have been changed

Public function Virtual Const

bool

 

RepointCurveOwner

(
    const FPackageReloadedEvent& InPac...,
    FCurveOwnerInterface*& OutNewC...
)

Called during package reload to repoint a curve interface asset

Deprecated Variables

Name Description

Public variable

FString

 

ImportPath_DEPRECATED

The filename imported to create this object.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback