Open 3D Engine AzFramework API Reference  2205.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Physics::DefaultMaterialConfiguration Class Reference

Inherits Physics::MaterialConfiguration.

Public Member Functions

 AZ_RTTI (Physics::DefaultMaterialConfiguration, "{A1F64C5C-D413-4757-9D42-51DD0EBFC270}", Physics::MaterialConfiguration)
 
- Public Member Functions inherited from Physics::MaterialConfiguration
 AZ_RTTI (Physics::MaterialConfiguration, "{8807CAA1-AD08-4238-8FDB-2154ADD084A1}")
 
bool operator== (const MaterialConfiguration &other) const
 
bool operator!= (const MaterialConfiguration &other) const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
- Static Public Member Functions inherited from Physics::MaterialConfiguration
static void Reflect (AZ::ReflectContext *context)
 

Protected Member Functions

bool IsNameReadOnly () const override
 

Additional Inherited Members

- Public Attributes inherited from Physics::MaterialConfiguration
AZStd::string m_surfaceType { "Default" }
 
float m_dynamicFriction = 0.5f
 
float m_staticFriction = 0.5f
 
float m_restitution = 0.5f
 
float m_density = 1000.0f
 
Material::CombineMode m_restitutionCombine = Material::CombineMode::Average
 
Material::CombineMode m_frictionCombine = Material::CombineMode::Average
 
AZ::Color m_debugColor = AZ::Colors::White
 
- Static Public Attributes inherited from Physics::MaterialConfiguration
const static AZ::Crc32 s_stringGroup
 Edit context data attribute. Identifies a string group instance. String values in the same group are unique.
 
const static AZ::Crc32 s_forbiddenStringSet
 Edit context data attribute. A set of strings that are not acceptable as values to the data element. Can be AZStd::unordered_set<AZStd::string>, AZStd::set<AZStd::string>, AZStd::vector<AZStd::string>
 
const static AZ::Crc32 s_configLineEdit
 Edit context data element handler. Creates custom line edit widget that allows string values to be unique in a group.
 
static constexpr float MinDensityLimit = 0.01f
 Minimum possible value of density.
 
static constexpr float MaxDensityLimit = 100000.0f
 Maximum possible value of density.
 

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