ezEngine  Release 25.03
ezSurfaceResourceDescriptor Struct Reference
Inheritance diagram for ezSurfaceResourceDescriptor:

Public Member Functions

 EZ_ADD_DYNAMIC_REFLECTION (ezSurfaceResourceDescriptor, ezReflectedClass)
 
void Load (ezStreamReader &inout_stream)
 
void Save (ezStreamWriter &inout_stream) const
 
void SetCollisionInteraction (const char *szName)
 
const char * GetCollisionInteraction () const
 
void SetSlideReactionPrefabFile (const char *szFile)
 
const char * GetSlideReactionPrefabFile () const
 
void SetRollReactionPrefabFile (const char *szFile)
 
const char * GetRollReactionPrefabFile () const
 
- 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

ezSurfaceResourceHandle m_hBaseSurface
 
float m_fPhysicsRestitution
 
float m_fPhysicsFrictionStatic
 
float m_fPhysicsFrictionDynamic
 
ezHashedString m_sOnCollideInteraction
 
ezHashedString m_sSlideInteractionPrefab
 
ezHashedString m_sRollInteractionPrefab
 
ezInt8 m_iGroundType = -1
 What kind of ground this is for navigation purposes. Ground type properties need to be specified elsewhere, this is just a number.
 
ezHybridArray< ezSurfaceInteraction, 16 > m_Interactions
 

Additional Inherited Members

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

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