UMatineeTrackAnimControlHelper::PreCreateTrack

Checks track-dependent criteria prior to adding a new track.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UInterpTrackHelper::PreCreateTrack()

UMatineeTrackAnimControlHelper::PreCreateTrack()

References

Module

Matinee

Header

/Engine/Source/Editor/Matinee/Classes/MatineeTrackAnimControlHelper.h

Include

#include "MatineeTrackAnimControlHelper.h"

Source

/Engine/Source/Editor/Matinee/Private/MatineeTrackHelpers.cpp

Syntax

virtual bool PreCreateTrack
(
    UInterpGroup * Group,
    const UInterpTrack * TrackDef,
    bool bDuplicatingTrack,
    bool bAllowPrompts
) const

Remarks

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

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).

Parameters

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