Navigation
API > API/Editor > API/Editor/CurveEditor
Handle for an entry in the draw params array
| Name | FCurveDrawParamsHandle |
| Type | struct |
| Header File | /Engine/Source/Editor/CurveEditor/Public/CurveEditorCurveDrawParamsHandle.h |
| Include Path | #include "CurveEditorCurveDrawParamsHandle.h" |
Syntax
struct FCurveDrawParamsHandle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| CurveEditorCurveDrawParamsHandle.h | |||
FCurveDrawParamsHandle
(
const TSharedRef< FCurveDrawParamsCache >& InDrawParamsCache, |
Constructs the handle from the index in curve draw params. | CurveEditorCurveDrawParamsHandle.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurveModelID | FCurveModelID | The curve model ID that corresponds to the curve draw params | CurveEditorCurveDrawParamsHandle.h | |
| Index | int32 | Index of the draw params in the array of the draw params cache | CurveEditorCurveDrawParamsHandle.h | |
| WeakDrawParamsCache | TWeakPtr< class FCurveDrawParamsCache > | Weak ptr to the draw params cache that owns the draw params | CurveEditorCurveDrawParamsHandle.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCurveDrawParams * Get () |
Returns the draw params or nullptr if the draw params no longer exists. | CurveEditorCurveDrawParamsHandle.h | |
const FCurveModelID & GetID() |
Returns the curve model ID that corresponds to these curve draw params. | CurveEditorCurveDrawParamsHandle.h |