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

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< ezSurfaceInteractionAlignmentm_Alignment
 
ezAngle m_Deviation
 
float m_fImpulseThreshold = 0.0f
 
float m_fImpulseScale = 1.0f
 
ezArrayMap< ezHashedString, ezVariantm_Parameters
 

Detailed Description

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.).


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