UMatineeTrackAnimControlHelper::PreCreateKeyframe

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UInterpTrackHelper::PreCreateKeyframe()

UMatineeTrackAnimControlHelper::PreCreateKeyframe()

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 PreCreateKeyframe
(
    UInterpTrack * Track,
    float KeyTime
) const

Remarks

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

Returns true if this key can be created and false if some criteria is not met (i.e. No related item selected in browser).

Parameters

Parameter

Description

Track

Pointer to the currently selected track.

KeyTime

The time that this Key becomes active.