Open 3D Engine EMotionFX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
CommandSystem::MetaData Class Reference

Static Public Member Functions

static bool ApplyMetaDataOnMotion (EMotionFX::Motion *motion, const AZStd::vector< MCore::Command * > &metaDataCommands)
 
static AZStd::string GenerateActorMetaData (EMotionFX::Actor *actor)
 
static bool ApplyMetaDataOnActor (EMotionFX::Actor *actor, const AZStd::string &metaDataString)
 

Member Function Documentation

◆ ApplyMetaDataOnActor()

static bool CommandSystem::MetaData::ApplyMetaDataOnActor ( EMotionFX::Actor actor,
const AZStd::string &  metaDataString 
)
static

Use the given meta data string, prepare it for the given actor and apply the meta data.

Parameters
actorThe actor to apply the meta data on.
Returns
True in case the meta data got applied correctly, false if something failed.

◆ ApplyMetaDataOnMotion()

static bool CommandSystem::MetaData::ApplyMetaDataOnMotion ( EMotionFX::Motion motion,
const AZStd::vector< MCore::Command * > &  metaDataCommands 
)
static

Use the given list , prepare it for the given motion and apply the meta data.

Parameters
motionThe motion to apply the meta data on.
Returns
True in case the meta data got applied correctly, false if something failed.

◆ GenerateActorMetaData()

static AZStd::string CommandSystem::MetaData::GenerateActorMetaData ( EMotionFX::Actor actor)
static

Constructs a list of commands representing the changes the user did on the source asset and returns it as a string.

Parameters
actorThe actor to read the changes from.
Returns
A string containing a list of commands.

The documentation for this class was generated from the following file: