engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Protected 成员函数 | 所有成员列表
FCurveOwnerInterface类 参考abstract

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

#include <CurveOwnerInterface.h>

+ 类 FCurveOwnerInterface 继承关系图:

Public 成员函数

virtual FLinearColor GetClampedLinearColorValue (float InTime) const
 Evaluate this color curve at the specified time
 
virtual FLinearColor GetCurveColor (FRichCurveEditInfo CurveInfo) const
 
virtual TArray< FRichCurveEditInfoConst > GetCurves () const =0
 Returns set of curves to edit. 更多...
 
virtual TArray< FRichCurveEditInfo > GetCurves ()=0
 Returns set of curves to query. 更多...
 
virtual FLinearColor GetLinearColorValue (float InTime) const
 Evaluate this color curve at the specified time
 
virtual TArray< const UObject * > GetOwners () const =0
 Returns the owner(s) of the curve
 
virtual bool HasAnyAlphaKeys () const
 
virtual bool HasRichCurves () const
 Whether the curves returned by GetCurves are rich or simple curves
 
virtual bool IsLinearColorCurve () const
 Whether the curve represents a linear color
 
virtual bool IsValidCurve (FRichCurveEditInfo CurveInfo)=0
 Validates that a previously retrieved curve is still valid for editing.
 
virtual void MakeTransactional ()=0
 Called to make curve owner transactional
 
virtual void ModifyOwner ()=0
 Called to modify the owner of the curve
 
virtual void ModifyOwnerChange ()
 Called to modify the owner of the curve during interaction/while being edited.
 
virtual void OnCurveChanged (const TArray< FRichCurveEditInfo > &ChangedCurveEditInfos)=0
 Called when any of the curves have been changed
 
virtual bool RepointCurveOwner (const FPackageReloadedEvent &InPackageReloadedEvent, FCurveOwnerInterface *&OutNewCurveOwner) const
 Called during package reload to repoint a curve interface asset
 

静态 Protected 成员函数

template<typename AssetType >
static bool RepointCurveOwnerAsset (const FPackageReloadedEvent &InPackageReloadedEvent, const AssetType *InCurveOwnerAsset, FCurveOwnerInterface *&OutNewCurveOwner)
 Default implementation of RepointCurveOwner that can be used with UObject based types that inherit FCurveOwnerInterface
 

详细描述

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

成员函数说明

◆ GetCurveColor()

virtual FLinearColor FCurveOwnerInterface::GetCurveColor ( FRichCurveEditInfo  CurveInfo) const
virtual
返回
Color for this curve

◆ GetCurves() [1/2]

virtual TArray< FRichCurveEditInfoConst > FCurveOwnerInterface::GetCurves ( ) const
pure virtual

Returns set of curves to edit.

Must not release the curves while being edited.

在 UCurveBase , 以及 UCurveTable 内被实现.

◆ GetCurves() [2/2]

virtual TArray< FRichCurveEditInfo > FCurveOwnerInterface::GetCurves ( )
pure virtual

Returns set of curves to query.

Must not release the curves while being edited.

在 UCurveBase , 以及 UCurveTable 内被实现.

◆ HasAnyAlphaKeys()

virtual bool FCurveOwnerInterface::HasAnyAlphaKeys ( ) const
inlinevirtual
返回
True if the curve has any alpha keys

该类的文档由以下文件生成: