Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientAnimationDestinationMappingDesc Struct Reference

#include <RadientAnimation.h>

Public Attributes

Uint32 ClipTargetIndex = InvalidRadientAnimationTargetIndex
RadientAnimationDestinationElement DestinationElement = InvalidRadientAnimationDestinationElement

Detailed Description

Maps one symbolic clip target to an element of one aggregate destination.

ClipTargetIndex selects a RadientAnimationTargetDesc, while DestinationElement selects the corresponding runtime object inside the destination. Repeating ClipTargetIndex with different elements intentionally fans one authored target out to multiple runtime instances.

Member Data Documentation

◆ ClipTargetIndex

Uint32 Diligent::RadientAnimationDestinationMappingDesc::ClipTargetIndex = InvalidRadientAnimationTargetIndex

Zero-based index into the bound clip's target table. It must be less than RadientAnimationClipDesc::TargetCount.

◆ DestinationElement

RadientAnimationDestinationElement Diligent::RadientAnimationDestinationMappingDesc::DestinationElement = InvalidRadientAnimationDestinationElement

Schema-specific element within its containing pDestination. A node target uses a zero-based joint index for a skeleton-pose destination or a RadientEntityID for a scene-writer destination. Other schemas and destinations define their own element identities. Must not equal InvalidRadientAnimationDestinationElement.