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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback