UMovieScene3DConstraintTrack::AddConstraint

Adds a constraint.

Windows
MacOS
Linux

Override Hierarchy

References

Module

MovieSceneTracks

Header

/Engine/Source/Runtime/MovieSceneTracks/Public/Tracks/MovieScene3DConstraintTrack.h

Include

#include "Tracks/MovieScene3DConstraintTrack.h"

Syntax

virtual UMovieSceneSection * AddConstraint
(
    FFrameNumber Time,
    int32 Duration,
    const FName SocketName,
    const FName ComponentName,
    const FMovieSceneObjectBindingID & ConstraintBindingID
)

Remarks

Adds a constraint.

Returns

The newly created constraint section

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss