#include <MorphTargetMetaAsset.h>
Inherits AZ::Data::AssetData.
|
static void | Reflect (AZ::ReflectContext *context) |
|
static AZ::Data::AssetId | ConstructAssetId (const AZ::Data::AssetId &modelAssetId, const AZStd::string &modelAssetName) |
|
|
static constexpr const char * | DisplayName = "MorphTargetMeta" |
|
static constexpr const char * | Extension = "morphTargetMeta" |
|
static constexpr const char * | Group = "Model" |
|
The morph target meta asset is an optional asset that belongs to a model. In case the model does not contain any morph targets, the meta asset won't be generated.
◆ AddMorphTarget()
void AZ::RPI::MorphTargetMetaAsset::AddMorphTarget |
( |
const MorphTarget & |
morphTarget | ) |
|
Add meta data for a morph target.
- Parameters
-
morphTarget | Meta target for the morph target. |
◆ ConstructAssetId()
static AZ::Data::AssetId AZ::RPI::MorphTargetMetaAsset::ConstructAssetId |
( |
const AZ::Data::AssetId & |
modelAssetId, |
|
|
const AZStd::string & |
modelAssetName |
|
) |
| |
|
static |
Construct the asset id for the morph target meta asset based on the model asset id it belongs to. The generated asset id will embed the model asset id and use s_assetIdPrefix as sub-id. As there won't be more than exactly one morph target meta asset, the sub-id is fixed.
- Parameters
-
modelAssetId | The asset id of the model this belongs to. |
modelAssetName | The model asset or group name the meta asset belongs to. |
The documentation for this class was generated from the following file:
- Gems/Atom/RPI/Code/Include/Atom/RPI.Reflect/Model/MorphTargetMetaAsset.h