Navigation
API > API/Editor > API/Editor/SequencerCore > API/Editor/SequencerCore/FKeyRenderer
Container that caches the key positions for a given key area, along with those that overlap the current visible range
| Name | FCachedKeyDrawInformation |
| Type | struct |
| Header File | /Engine/Source/Editor/SequencerCore/Public/MVVM/Views/KeyRenderer.h |
| Include Path | #include "MVVM/Views/KeyRenderer.h" |
Syntax
struct FCachedKeyDrawInformation
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCachedKeyDrawInformation
(
TViewModelPtr< IKeyExtension > KeyExtension |
Construction from the key area this represents | MVVM/Views/KeyRenderer.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedKeys | TSharedPtr< FCachedKeys > | Construction from the key area this represents | MVVM/Views/KeyRenderer.h | |
| DrawParams | TArray< FKeyDrawParams > | Draw params for each of the keys visible on screen | MVVM/Views/KeyRenderer.h | |
| FramesInRange | TArrayView< const FFrameTime > | Cached array view retrieved from CachedKeys for the key frames that overlap the current time | MVVM/Views/KeyRenderer.h | |
| HandlesInRange | TArrayView< const FKeyHandle > | Cached array view retrieved from CachedKeys for the key handles that overlap the current time | MVVM/Views/KeyRenderer.h | |
| LeadingKey | FCachedKeys::FCachedKey | MVVM/Views/KeyRenderer.h | ||
| LeadingKeyParams | FKeyDrawParams | MVVM/Views/KeyRenderer.h | ||
| NextUnhandledIndex | int32 | Index into the array views for the next unhandled key | MVVM/Views/KeyRenderer.h | |
| PreserveToIndex | int32 | Index into the array views for the first index proceeding a preserved range (TimesInRange.Num() if not) | MVVM/Views/KeyRenderer.h | |
| TrailingKey | FCachedKeys::FCachedKey | MVVM/Views/KeyRenderer.h | ||
| TrailingKeyParams | FKeyDrawParams | MVVM/Views/KeyRenderer.h | ||
| WeakKeyExtension | TWeakViewModelPtr< IKeyExtension > | MVVM/Views/KeyRenderer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CacheViewDependentData
(
const FKeyBatchParameters& Params |
Ensure that view-dependent data (such as which keys need drawing and how) is up to date | MVVM/Views/KeyRenderer.h | |
int32 Num() |
Return the size of this key draw information | MVVM/Views/KeyRenderer.h | |
EViewDependentCacheFlags UpdateViewIndependentData() |
Attempt to update data that is not dependent upon the current view | MVVM/Views/KeyRenderer.h |