Navigation
API > API/Editor > API/Editor/MovieSceneTools > API/Editor/MovieSceneTools/FMovieSceneConstraintChannelHelp-
Description
Adds an active key if needed and does the compensation when switching. Will use the optional active and time if set. Will return true if key is actually set, may not be if the value is the same.
| Name | SmartConstraintKey |
| Type | function |
| Header File | /Engine/Source/Editor/MovieSceneTools/Public/Constraints/MovieSceneConstraintChannelHelper.h |
| Include Path | #include "Constraints/MovieSceneConstraintChannelHelper.h" |
| Source | /Engine/Source/Editor/MovieSceneTools/Private/Constraints/MovieSceneConstraintChannelHelper.cpp |
static bool SmartConstraintKey
(
const TSharedPtr < ISequencer > & InSequencer,
UTickableTransformConstraint * InConstraint,
const TOptional < bool > & InOptActive,
const TOptional < FFrameNumber > & InOptFrameTime
)