UAnimationCurveIdentifierExtensions::GetCurveIdentifier

Constructs 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 GetCurveIdentifier
(
    USkeleton * InSkeleton,
    FName Name,
    ERawCurveTrackTypes CurveType
)

Remarks

Constructs a valid FAnimationCurveIdentifier instance. Ensuring that the underlying SmartName exists on the provided Skeleton for the provided curve type. If it is not found initially it will add it to the Skeleton thus modifying it.

Returns

Valid FAnimationCurveIdentifier if the operation was successful

Parameters

Parameter

Description

InSkeleton

Skeleton on which to look for or add the curve name

Name

Name of the curve to find or add

CurveType

Type of the curve to find or add