Navigation
API > API/Runtime > API/Runtime/MovieSceneTracks
Interface to be added to UMovieSceneSection types when they contain entity data
| Name | IMovieSceneConstrainedSection |
| Type | class |
| Header File | /Engine/Source/Runtime/MovieSceneTracks/Public/Sections/MovieSceneConstrainedSection.h |
| Include Path | #include "Sections/MovieSceneConstrainedSection.h" |
Syntax
class IMovieSceneConstrainedSection
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IMovieSceneConstrainedSection() |
Sections/MovieSceneConstrainedSection.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FConstraintChannelAddedEvent | TMulticastDelegate_TwoParams< void, IMovieSceneConstrainedSection *, FMovieSceneConstraintChannel * > | Sections/MovieSceneConstrainedSection.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnConstraintRemovedHandle | FDelegateHandle | Removed delegate that get's added by the track editor | Sections/MovieSceneConstrainedSection.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddConstraintChannel
(
UTickableConstraint* InConstraint |
Add Constraint channel | Sections/MovieSceneConstrainedSection.h | |
FConstraintChannelAddedEvent & ConstraintChannelAdded() |
Added Delegate | Sections/MovieSceneConstrainedSection.h | |
UTickableConstraint * FindConstraint
(
const FName InConstraintName |
Find the constraint named ConstraintName | Sections/MovieSceneConstrainedSection.h | |
UTickableConstraint * FindConstraint
(
FMovieSceneChannel* InChannel |
Find the constraint from the channel | Sections/MovieSceneConstrainedSection.h | |
FConstraintAndActiveChannel * GetConstraintChannel
(
const FGuid& InConstraintGuid |
Get constraint with that name | Sections/MovieSceneConstrainedSection.h | |
| Get a reference to the channels | Sections/MovieSceneConstrainedSection.h | ||
const TArray< FConstraintAndActiveChannel > & GetConstraintsChannels () |
Get a const reference to the channels | Sections/MovieSceneConstrainedSection.h | |
bool HasConstraintChannel
(
const FGuid& InGuid |
If it has that constraint with that Name | Sections/MovieSceneConstrainedSection.h | |
bool RemoveAllConstraints
(
UWorld* InWorld, |
Removes all the constraints stored in this section | Sections/MovieSceneConstrainedSection.h | |
| Removes the constraint named ConstraintName | Sections/MovieSceneConstrainedSection.h | ||
void RemoveConstraintChannel
(
const UTickableConstraint* InConstraint |
Remove Constraint channel | Sections/MovieSceneConstrainedSection.h | |
void ReplaceConstraint
(
const FName InConstraintName, |
Replace the constraint with the specified name with the new one | Sections/MovieSceneConstrainedSection.h | |
void SetDoNoRemoveChannel
(
bool bInDoNotRemoveChannel |
SetToNotRemoveChannel when we are told a constraint is removed, we need this sometimes sincet his will be destructive | Sections/MovieSceneConstrainedSection.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnConstraintsChanged () |
What to do if the constraint object has been changed, for example by an undo or redo. | Sections/MovieSceneConstrainedSection.h |