| UInterpTrackHelper::PreCreateTrack()
|
Module |
|
Header |
/Engine/Source/Editor/Matinee/Classes/MatineeTrackBoolPropHelper.h |
Include |
#include "MatineeTrackBoolPropHelper.h" |
Source |
/Engine/Source/Editor/Matinee/Private/MatineeTrackHelpers.cpp |
virtual bool PreCreateTrack
(
UInterpGroup * Group,
const UInterpTrack * TrackDef,
bool bDuplicatingTrack,
bool bAllowPrompts
) const
Checks track-dependent criteria prior to adding a new track. Responsible for any message-boxes or dialogs for selecting track-specific parameters. Called on default object.
Returns true if this track can be created and false if some criteria is not met (i.e. A named property is already controlled for this group).
Parameter |
Description |
---|---|
Group |
The group that this track is being added to |
Trackdef |
Pointer to default object for this UInterpTrackClass. |
bDuplicatingTrack |
Whether we are duplicating this track or creating a new one from scratch. |
bAllowPrompts |
When true, we'll prompt for more information from the user with a dialog box if we need to |