FSmartNameMapping

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/SmartName.h

Include

#include "Animation/SmartName.h"

Syntax

struct FSmartNameMapping

Constructors

Name Description

Public function

FSmartNameMapping()

Functions

Name Description

Public function

FSmartName

 

AddName

(
    FName InName
)

Add a name to the mapping, fails if it already exists

Public function Const

bool

 

Exists

(
    const FName& Name
)

Check whether a name already exists in the mapping

Public function Const

bool

 

Exists

(
    const SmartName::UID_Type& Uid
)

Check whether a name already exists in the mapping

Public function Const

void

 

FillCurveTypeArray

(
    TArray< FAnimCurveType >& Array
)

Fill an array with curve types for all used names

Public function Const

void

 

FillNameArray

(
    TArray< FName >& Array
)

Fill an array with all used names

Public function Const

void

 

FillUidArray

(
    TArray< SmartName::UID_Type >& Arr...
)

Fill an array with all used UIDs

Public function Const

void

 

FillUIDToCurveTypeArray

(
    TArray< FAnimCurveType >& Array
)

Fill an array with curve types in UID order.

Public function Const

void

 

FillUIDToNameArray

(
    TArray< FName >& Array
)

Fill an array with curve names in UID order (None will be placed in invalid UID slots)

Public function Const

bool

 

FindSmartName

(
    FName Name,
    FSmartName& OutName
)

Find Smart Names.

Public function Const

bool

 

FindSmartNameByUID

(
    SmartName::UID_Type UID,
    FSmartName& OutName
)

Find Smart Names.

Public function Const

SmartName::U...

 

FindUID

(
    const FName& Name
)

Return SmartName::UID_Type if it finds it

Public function Const

const FCurve...

 

GetCurveMetaData

(
    FName CurveName
)

Public function

FCurveMetaDa...

 

GetCurveMetaData

(
    FName CurveName
)

Curve Meta Data Accessors.

Public function Const

SmartName::U...

 

GetMaxUID()

Get the maximum in use UID

Public function Const

bool

 

GetName

(
    const SmartName::UID_Type& Uid,
    FName& OutName
)

Get a name from the mapping

Public function

void

 

InitializeCurveMetaData

(
    USkeleton* Skeleton
)

Initialize curve meta data for the container

Public function

bool

 

Remove

(
    const SmartName::UID_Type& Uid
)

Remove a name from the mapping

Public function

bool

 

Remove

(
    const FName& Name
)

Remove a name from the mapping

Public function

bool

 

Rename

(
    const SmartName::UID_Type& Uid,
    FName NewName
)

Change a name

Public function

void

 

Serialize

(
    FArchive& Ar
)

Serialize this to the provided archive; required for TMap serialization.

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