Open 3D Engine Terrain 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.
|
Inherits AZ::Component, Physics::HeightfieldProviderRequestsBus::Handler, LmbrCentral::ShapeComponentNotificationsBus::Handler, and AzFramework::Terrain::TerrainDataNotificationBus::Handler.
Public Member Functions | |
AZ_COMPONENT (TerrainPhysicsColliderComponent, "{33C20287-1D37-44D0-96A0-2C3766E23624}") | |
TerrainPhysicsColliderComponent (const TerrainPhysicsColliderConfig &configuration) | |
AZ::Vector2 | GetHeightfieldGridSpacing () const override |
void | GetHeightfieldGridSize (size_t &numColumns, size_t &numRows) const override |
AZ::u64 | GetHeightfieldGridColumns () const override |
AZ::u64 | GetHeightfieldGridRows () const override |
void | GetHeightfieldHeightBounds (float &minHeightBounds, float &maxHeightBounds) const override |
float | GetHeightfieldMinHeight () const override |
float | GetHeightfieldMaxHeight () const override |
AZ::Aabb | GetHeightfieldAabb () const override |
AZ::Transform | GetHeightfieldTransform () const override |
AZStd::vector< AZ::Data::Asset< Physics::MaterialAsset > > | GetMaterialList () const override |
AZStd::vector< float > | GetHeights () const override |
AZStd::vector< Physics::HeightMaterialPoint > | GetHeightsAndMaterials () const override |
void | GetHeightfieldIndicesFromRegion (const AZ::Aabb ®ion, size_t &startColumn, size_t &startRow, size_t &numColumns, size_t &numRows) const override |
void | UpdateHeightsAndMaterials (const Physics::UpdateHeightfieldSampleFunction &updateHeightsMaterialsCallback, size_t startColumn, size_t startRow, size_t numColumns, size_t numRows) const override |
Updates the list of heights and materials within the region. | |
void | UpdateHeightsAndMaterialsAsync (const Physics::UpdateHeightfieldSampleFunction &updateHeightsMaterialsCallback, const Physics::UpdateHeightfieldCompleteFunction &updateHeightsCompleteCallback, size_t startColumn, size_t startRow, size_t numColumns, size_t numRows) const override |
void | UpdateConfiguration (const TerrainPhysicsColliderConfig &newConfiguration) |
Friends | |
class | EditorTerrainPhysicsColliderComponent |