Plasma Engine  2.0
Loading...
Searching...
No Matches
plSurfaceResourceDescriptor Struct Reference
Inheritance diagram for plSurfaceResourceDescriptor:

Public Member Functions

 PL_ADD_DYNAMIC_REFLECTION (plSurfaceResourceDescriptor, plReflectedClass)
 
void Load (plStreamReader &inout_stream)
 
void Save (plStreamWriter &inout_stream) const
 
void SetBaseSurfaceFile (const char *szFile)
 
const char * GetBaseSurfaceFile () 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 plReflectedClass
virtual const plRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const plRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
PL_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Public Attributes

plSurfaceResourceHandle m_hBaseSurface
 
float m_fPhysicsRestitution
 
float m_fPhysicsFrictionStatic
 
float m_fPhysicsFrictionDynamic
 
float m_fSoundObstruction
 
plHashedString m_sOnCollideInteraction
 
plHashedString m_sSlideInteractionPrefab
 
plHashedString m_sRollInteractionPrefab
 
plInt8 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.
 
plHybridArray< plSurfaceInteraction, 16 > m_Interactions
 

Additional Inherited Members

- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 

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