| UInterpTrackHelper::PreCreateKeyframe()
|
Module |
|
Header |
/Engine/Source/Editor/Matinee/Classes/MatineeTrackDirectorHelper.h |
Include |
#include "MatineeTrackDirectorHelper.h" |
Source |
/Engine/Source/Editor/Matinee/Private/MatineeTrackHelpers.cpp |
virtual bool PreCreateKeyframe
(
UInterpTrack * Track,
float KeyTime
) const
Checks track-dependent criteria prior to adding a new keyframe. Responsible for any message-boxes or dialogs for selecting key-specific parameters. Optionally creates/references a key-specific data object to be used in PostCreateKeyframe.
Returns true if this key can be created and false if some criteria is not met (i.e. No related item selected in browser).
Parameter |
Description |
---|---|
Track |
Pointer to the currently selected track. |
KeyTime |
The time that this Key becomes active. |