ezEngine Release 26.3
Loading...
Searching...
No Matches
ezAnimationClipMapping Struct Reference

#include <AnimGraphResource.h>

Inheritance diagram for ezAnimationClipMapping:

Public Member Functions

 EZ_ADD_DYNAMIC_REFLECTION (ezAnimationClipMapping, ezReflectedClass)
 
const char * GetClipName () const
 
void SetClipName (const char *szName)
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const ezRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
EZ_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Public Attributes

ezHashedString m_sClipName
 
ezAnimationClipResourceHandle m_hClip
 

Additional Inherited Members

- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 

Detailed Description

Maps a logical animation clip name to an actual animation clip resource.

Animation graphs reference clips by name (e.g., "Walk", "Jump") rather than directly referencing resources. This allows the same graph to be used with different animation sets by remapping the clip names to different resources.

This indirection allows:

  • Same graph with different animation sets (e.g., male/female characters)
  • Runtime clip swapping for character customization
  • Graph reuse across different character types

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