Navigation
API > API/Runtime > API/Runtime/MovieSceneTracks > API/Runtime/MovieSceneTracks/Tracks > API/Runtime/MovieSceneTracks/Tracks/UMovieScene3DPathTrack
- UMovieScene3DConstraintTrack::AddConstraint()
- UMovieScene3DPathTrack::AddConstraint()
References
| Module | MovieSceneTracks |
| Header | /Engine/Source/Runtime/MovieSceneTracks/Public/Tracks/MovieScene3DPathTrack.h |
| Include | #include "Tracks/MovieScene3DPathTrack.h" |
| Source | /Engine/Source/Runtime/MovieSceneTracks/Private/Tracks/MovieScene3DPathTrack.cpp |
virtual UMovieSceneSection &42; AddConstraint
&40;
FFrameNumber Time,
int32 Duration,
const FName SocketName,
const FName ComponentName,
const FMovieSceneObjectBindingID & ConstraintBindingID
&41;
Remarks
Adds a constraint. The newly created constraint section
Parameters
| Name | Description |
|---|---|
| Time | The time relative to the owning movie scene where the section should be. |
| Duration | The length of the constraint section |
| SocketName | The socket name for the constraint. |
| ComponentName | The name of the component the socket resides in. |
| FMovieSceneObjectBindingID | The object binding id to the constraint. |