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

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