Open 3D Engine NvCloth Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
NvCloth::ClothConfiguration Struct Reference

Configuration data for Cloth. More...

#include <ClothConfiguration.h>

Public Member Functions

 AZ_CLASS_ALLOCATOR (ClothConfiguration, AZ::SystemAllocator)
 
 AZ_TYPE_INFO (ClothConfiguration, "{96E2AF5E-3C98-4872-8F90-F56302A44F2A}")
 
bool IsUsingWorldBusGravity () const
 
bool IsUsingWindBus () const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

AZStd::string m_meshNode
 
float m_mass = 1.0f
 
bool m_useCustomGravity = false
 
AZ::Vector3 m_customGravity = AZ::Vector3(0.0f, 0.0f, -9.81f)
 
float m_gravityScale = 1.0f
 
float m_stiffnessFrequency = 10.0f
 
float m_motionConstraintsMaxDistance = 10.0f
 
float m_motionConstraintsScale = 1.0f
 
float m_motionConstraintsBias = 0.0f
 
float m_motionConstraintsStiffness = 1.0f
 
float m_backstopRadius = 0.1f
 
float m_backstopBackOffset = 0.0f
 
float m_backstopFrontOffset = 0.0f
 
AZ::Vector3 m_damping = AZ::Vector3(0.2f, 0.2f, 0.2f)
 
AZ::Vector3 m_linearDrag = AZ::Vector3(0.2f, 0.2f, 0.2f)
 
AZ::Vector3 m_angularDrag = AZ::Vector3(0.2f, 0.2f, 0.2f)
 
AZ::Vector3 m_linearInteria = AZ::Vector3::CreateOne()
 
AZ::Vector3 m_angularInteria = AZ::Vector3::CreateOne()
 
AZ::Vector3 m_centrifugalInertia = AZ::Vector3::CreateOne()
 
bool m_useCustomWindVelocity = true
 
AZ::Vector3 m_windVelocity = AZ::Vector3(0.0f, 20.0f, 0.0f)
 
float m_airDragCoefficient = 0.0f
 
float m_airLiftCoefficient = 0.0f
 
float m_fluidDensity = 1.0f
 
float m_collisionFriction = 0.0f
 
float m_collisionMassScale = 0.0f
 
bool m_continuousCollisionDetection = false
 
bool m_collisionAffectsStaticParticles = false
 
float m_selfCollisionDistance = 0.0f
 
float m_selfCollisionStiffness = 0.2f
 
float m_tetherConstraintStiffness = 1.0f
 
float m_tetherConstraintScale = 1.0f
 
float m_solverFrequency = 300.0f
 
uint32_t m_accelerationFilterIterations = 30
 
bool m_removeStaticTriangles = true
 
bool m_updateNormalsOfStaticParticles = false
 
float m_horizontalStiffness = 1.0f
 
float m_horizontalStiffnessMultiplier = 0.0f
 
float m_horizontalCompressionLimit = 0.0f
 
float m_horizontalStretchLimit = 0.0f
 
float m_verticalStiffness = 1.0f
 
float m_verticalStiffnessMultiplier = 0.0f
 
float m_verticalCompressionLimit = 0.0f
 
float m_verticalStretchLimit = 0.0f
 
float m_bendingStiffness = 1.0f
 
float m_bendingStiffnessMultiplier = 0.0f
 
float m_bendingCompressionLimit = 0.0f
 
float m_bendingStretchLimit = 0.0f
 
float m_shearingStiffness = 1.0f
 
float m_shearingStiffnessMultiplier = 0.0f
 
float m_shearingCompressionLimit = 0.0f
 
float m_shearingStretchLimit = 0.0f
 

Friends

class EditorClothComponent
 

Detailed Description

Configuration data for Cloth.


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