FCurveOwnerInterface

Interface you implement if you want the CurveEditor to be able to edit curves on you.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Curves/CurveOwnerInterface.h

Include

#include "Curves/CurveOwnerInterface.h"

Syntax

class FCurveOwnerInterface

Remarks

Interface you implement if you want the CurveEditor to be able to edit curves on you.

Destructors

Name Description

Public function Virtual

~FCurveOwnerInterface()

Functions

Name Description

Public function Virtual Const

FLinearColor

 

GetClampedLinearColorValue

(
    float InTime
)

Evaluate this color curve at the specified time

Public function Virtual Const

FLinearColor

 

GetCurveColor

(
    FRichCurveEditInfo CurveInfo
)

Public function Const

TArray< FRic...

 

GetCurves()

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

Public function

TArray< FRic...

 

GetCurves()

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

Public function Virtual Const

FLinearColor

 

GetLinearColorValue

(
    float InTime
)

Evaluate this color curve at the specified time

Public function Const

TArray< cons...

 

GetOwners()

Returns the owner(s) of the curve

Public function Virtual Const

bool

 

HasAnyAlphaKeys()

Public function Virtual Const

bool

 

HasRichCurves()

Whether the curves returned by GetCurves are rich or simple curves

Public function Virtual Const

bool

 

IsLinearColorCurve()

Whether the curve represents a linear color

Public function

bool

 

IsValidCurve

(
    FRichCurveEditInfo CurveInfo
)

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

Public function

void

 

MakeTransactional()

Called to make curve owner transactional

Public function

void

 

ModifyOwner()

Called to modify the owner of the curve

Public function Virtual

void

 

ModifyOwnerChange()

Called to modify the owner of the curve during interaction/while being edited.

Public function

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

Protected function Static

bool

 

RepointCurveOwnerAsset

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

Default implementation of RepointCurveOwner that can be used with UObject based types that inherit FCurveOwnerInterface

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