![]() |
ezEngine Release 26.3
|
Describes how a surface responds to a specific type of interaction. More...
#include <SurfaceResourceDescriptor.h>
Public Member Functions | |
| const ezRangeView< const char *, ezUInt32 > | GetParameters () const |
| void | SetParameter (const char *szKey, const ezVariant &value) |
| void | RemoveParameter (const char *szKey) |
| bool | GetParameter (const char *szKey, ezVariant &out_value) const |
Public Attributes | |
| ezString | m_sInteractionType |
| ezPrefabResourceHandle | m_hPrefab |
| ezEnum< ezSurfaceInteractionAlignment > | m_Alignment |
| ezAngle | m_Deviation |
| float | m_fImpulseThreshold = 0.0f |
| float | m_fImpulseScale = 1.0f |
| ezArrayMap< ezHashedString, ezVariant > | m_Parameters |
Describes how a surface responds to a specific type of interaction.
Configures the prefab to spawn, its alignment, impact thresholds, and custom parameters when objects interact with a surface in a particular way (collision, slide, roll, etc.).