#include <RadientImportedDocument.hpp>
Public Attributes | |
| Uint32 | SkinIndex = InvalidImportedSkinIndex |
| std::vector< RadientAnimationDestinationMappingDesc > | JointMappings |
Connects an imported animation's targets to one imported skin's skeleton.
The mapping owns its descriptor array. It is applied to the skeleton pose created for the selected skin when that skin is used in a scene instance.
| std::vector<RadientAnimationDestinationMappingDesc> Diligent::RadientImport::ImportedAnimationSkinMapping::JointMappings |
Owned target-to-joint mappings for the containing ImportedAnimation::pClip. ClipTargetIndex indexes that clip's target array. DestinationElement is the zero-based joint index in the skeleton referenced by Skins[SkinIndex]. These indices are independent of node indices in ImportedDocument::Nodes.
| Uint32 Diligent::RadientImport::ImportedAnimationSkinMapping::SkinIndex = InvalidImportedSkinIndex |
Zero-based index in ImportedDocument::Skins. The default sentinel denotes an unset mapping; a usable mapping identifies an existing skin asset.