UAnimationCurveIdentifierExtensions::FindCurveIdentifier

Tries to construct a valid [FAnimationCurveIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationCurveIdentifier) instance.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/AnimData/CurveIdentifier.h

Include

#include "Animation/AnimData/CurveIdentifier.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/CurveIdentifier.cpp

Syntax

static FAnimationCurveIdentifier FindCurveIdentifier
(
    const USkeleton * InSkeleton,
    FName Name,
    ERawCurveTrackTypes CurveType
)

Remarks

Tries to construct a valid FAnimationCurveIdentifier instance. It tries to find the underlying SmartName on the provided Skeleton for the provided curve type.

Returns

Valid FAnimationCurveIdentifier if the name exists on the skeleton and the operation was successful, invalid otherwise

Parameters

Parameter

Description

InSkeleton

Skeleton on which to look for the curve name

Name

Name of the curve to find

CurveType

Type of the curve to find