Navigation
API > API/Plugins > API/Plugins/GameplayCamerasEditor
A utility toolkit that hosts a curve editor showing curves from any object that has curve properties.
| Name | FCurveEditorToolkit |
| Type | class |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCamerasEditor/Public/Toolkits/CurveEditorToolkit.h |
| Include Path | #include "Toolkits/CurveEditorToolkit.h" |
Syntax
class FCurveEditorToolkit : public TSharedFromThis< FCurveEditorToolkit >
Inheritance Hierarchy
- TSharedFromThis< FCurveEditorToolkit > → FCurveEditorToolkit
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCurveEditorToolkit() |
Toolkits/CurveEditorToolkit.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurveEditor | TSharedPtr< FCurveEditor > | Toolkits/CurveEditorToolkit.h | ||
| CurveEditorWidget | TSharedPtr< SWidget > | Toolkits/CurveEditorToolkit.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCurveOwner
(
UObject* InCurveOwner |
Adds curves for any curve property on the given object. | Toolkits/CurveEditorToolkit.h | |
void AddCurveOwners
(
TArrayView< UObject* > InCurveOwners |
Adds curves for any curve property on the given objects. | Toolkits/CurveEditorToolkit.h | |
TSharedPtr< SWidget > GetCurveEditorWidget() |
Gets the curve editor widget. | Toolkits/CurveEditorToolkit.h | |
void Initialize () |
Initializes the toolkit and creates the curve editor. | Toolkits/CurveEditorToolkit.h | |
void Initialize
(
TArrayView< UObject* > InCurveOwners |
Initializes the toolkit and creates the curve editor, plus adds curves from the given objects. | Toolkits/CurveEditorToolkit.h | |
bool IsInitialized() |
Whether this toolkit is initialized and has a valid curve editor. | Toolkits/CurveEditorToolkit.h | |
void RemoveAllCurveOwners() |
Removes all curves from all curve owners. | Toolkits/CurveEditorToolkit.h | |
void RemoveCurveOwner
(
UObject* InCurveOwner |
Removes any existing curves belonging to the given object. | Toolkits/CurveEditorToolkit.h | |
void SelectCurves
(
UObject* InCurveOwner, |
Selects the curves associated with the given object and property name. | Toolkits/CurveEditorToolkit.h | |
void Shutdown() |
Removes all curves and destroys the curve editor. | Toolkits/CurveEditorToolkit.h |