Navigation
Unreal Engine C++ API Reference > Runtime > MovieSceneTracks > Tracks > UMovieScene3DAttachTrack
- UMovieScene3DConstraintTrack::AddConstraint()
- UMovieScene3DAttachTrack::AddConstraint()
References
Module | MovieSceneTracks |
Header | /Engine/Source/Runtime/MovieSceneTracks/Public/Tracks/MovieScene3DAttachTrack.h |
Include | #include "Tracks/MovieScene3DAttachTrack.h" |
Source | /Engine/Source/Runtime/MovieSceneTracks/Private/Tracks/MovieScene3DAttachTrack.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. |