FSubSequencePath::NumGenerationsFromLeaf

Return the number of generations between this path's leaf node, and the specified sequence ID

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneRootOverridePath.h

Include

#include "Evaluation/MovieSceneRootOverridePath.h"

Source

/Engine/Source/Runtime/MovieScene/Private/Evaluation/MovieSceneRootOverridePath.cpp

Syntax

int32 NumGenerationsFromLeaf
(
    FMovieSceneSequenceID SequenceID
) const

Remarks

Return the number of generations between this path's leaf node, and the specified sequence ID

Returns

The number of generations between the two nodes. (ie, 0 where SequenceID == Leaf, 1 for Immediate parents, 2 for grandparents etc)

Parameters

Parameter

Description

SequenceID

ID of the parent sequence to count generations to

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