Navigation
API > API/Editor > API/Editor/MovieSceneTools > API/Editor/MovieSceneTools/Constraints
References
| Module | MovieSceneTools |
| Header | /Engine/Source/Editor/MovieSceneTools/Public/Constraints/MovieSceneConstraintChannelHelper.h |
| Include | #include "Constraints/MovieSceneConstraintChannelHelper.h" |
Syntax
struct FMovieSceneConstraintChannelHelper
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddConstraintToSequencer
(
const TSharedPtr< ISequencer >& InSequencer, |
||
| void | ChangeKeyInterpolation
(
const TArrayView< ChannelType* >& InChannels, |
Change key interpolation at the specified time | |
| void | Compensate
(
const TSharedPtr< ISequencer >& InSequencer, |
Compensate transform on handles when a constraint switches state. | |
| void | CompensateIfNeeded
(
const TSharedPtr< ISequencer >& InSequencer, |
||
| void | DeleteTransformKeys
(
const TArrayView< ChannelType* >& InChannels, |
Delete transform keys at that time | |
| void | DeleteTransformTimes
(
const TArrayView< ChannelType* >& InChannels, |
||
| FConstraintSections | GetConstraintSectionAndChannel
(
const UTickableTransformConstraint* InConstraint, |
Get the section and the channel for the given constraint, will be nullptr's if it doesn't exist in Sequencer | |
| void | GetFramesAfter
(
const FMovieSceneConstraintChannel& InActiveChannel, |
||
| void | GetFramesToCompensate
(
const FMovieSceneConstraintChannel& InActiveChannel, |
||
| void | GetFramesWithinActiveState
(
const FMovieSceneConstraintChannel& InActiveChannel, |
||
| void | GetTransformFramesForConstraintHandles
(
const UTickableTransformConstraint* InConstraint, |
For the given constraint get all of the transform keys for it's child and parent handles | |
| TArray< FFrameNumber > | GetTransformTimes
(
const TArrayView< ChannelType* >& InChannels, |
||
| void | HandleConstraintKeyDeleted
(
UTickableTransformConstraint* InConstraint, |
||
| void | HandleConstraintKeyMoved
(
const UTickableTransformConstraint* InConstraint, |
||
| void | HandleConstraintPropertyChanged
(
UTickableTransformConstraint* InConstraint, |
||
| void | HandleConstraintRemoved
(
UTickableConstraint* InConstraint, |
||
| void | MoveTransformKeys
(
const TArrayView< ChannelType* >& InChannels, |
||
| void | SetTransformTimes
(
const TArrayView< ChannelType* >& InChannels, |
This will only set the value son channels with keys at the specified time, reusing tangent time etc. | |
| bool | SmartConstraintKey
(
const TSharedPtr< ISequencer >& InSequencer, |
Adds an active key if needed and does the compensation when switching. |
Constants
| Name | Description |
|---|---|
| bDoNotCompensate |