Open 3D Engine AzFramework 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.
Physics::HeightfieldShapeConfiguration Class Reference

Inherits Physics::ShapeConfiguration.

Public Member Functions

 AZ_CLASS_ALLOCATOR (HeightfieldShapeConfiguration, AZ::SystemAllocator)
 
 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)
 
size_t GetNumColumnVertices () const
 
size_t GetNumColumnSquares () const
 
void SetNumColumnVertices (size_t numColumns)
 
size_t GetNumRowVertices () const
 
size_t GetNumRowSquares () const
 
void SetNumRowVertices (size_t numRows)
 
const AZStd::vector< Physics::HeightMaterialPoint > & GetSamples () const
 
void ModifySample (size_t column, size_t row, 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)
 
 AZ_RTTI (ShapeConfiguration, "{1FD56C72-6055-4B35-9253-07D432B94E91}")
 
 ShapeConfiguration (const AZ::Vector3 &scale=ShapeConstants::DefaultScale)
 

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 = ShapeConstants::DefaultScale
 

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