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 | List of all members
Physics::HeightfieldShapeConfiguration Class Reference

Inherits Physics::ShapeConfiguration.

Public Member Functions

 AZ_CLASS_ALLOCATOR (HeightfieldShapeConfiguration, AZ::SystemAllocator, 0)
 
 AZ_RTTI (HeightfieldShapeConfiguration, "{8DF47C83-D2A9-4E7C-8620-5E173E43C0B3}", ShapeConfiguration)
 
 HeightfieldShapeConfiguration (const HeightfieldShapeConfiguration &)
 
HeightfieldShapeConfigurationoperator= (const HeightfieldShapeConfiguration &)
 
ShapeType GetShapeType () const override
 
const void * GetCachedNativeHeightfield () const
 
void * GetCachedNativeHeightfield ()
 
void SetCachedNativeHeightfield (void *cachedNativeHeightfield)
 
const AZ::Vector2 & GetGridResolution () const
 
void SetGridResolution (const AZ::Vector2 &gridSpacing)
 
int32_t GetNumColumns () const
 
void SetNumColumns (int32_t numColumns)
 
int32_t GetNumRows () const
 
void SetNumRows (int32_t numRows)
 
const AZStd::vector< Physics::HeightMaterialPoint > & GetSamples () const
 
void ModifySample (int32_t row, int32_t column, const Physics::HeightMaterialPoint &point)
 
void SetSamples (const AZStd::vector< Physics::HeightMaterialPoint > &samples)
 
float GetMinHeightBounds () const
 
void SetMinHeightBounds (float minBounds)
 
float GetMaxHeightBounds () const
 
void SetMaxHeightBounds (float maxBounds)
 
- Public Member Functions inherited from Physics::ShapeConfiguration
 AZ_CLASS_ALLOCATOR (ShapeConfiguration, AZ::SystemAllocator, 0)
 
 AZ_RTTI (ShapeConfiguration, "{1FD56C72-6055-4B35-9253-07D432B94E91}")
 

Static Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from Physics::ShapeConfiguration
AZ::Vector3 m_scale = AZ::Vector3::CreateOne()
 

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