Open 3D Engine AzFramework API Reference  2305.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Physics::HeightfieldProviderNotifications Class Reference

Broadcasts notifications when heightfield data changes - heightfield providers implement HeightfieldRequests bus. More...

#include <HeightfieldProviderBus.h>

Inherits ComponentBus.

Public Types

enum  HeightfieldChangeMask : AZ::u8 {
  None = 0, Settings = (1 << 0), HeightData = (1 << 1), SurfaceData = (1 << 2),
  SurfaceMapping = (1 << 3)
}
 

Public Member Functions

virtual void OnHeightfieldDataChanged ([[maybe_unused]] const AZ::Aabb &dirtyRegion, [[maybe_unused]] Physics::HeightfieldProviderNotifications::HeightfieldChangeMask changeMask)
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple
 

Detailed Description

Broadcasts notifications when heightfield data changes - heightfield providers implement HeightfieldRequests bus.

Member Function Documentation

virtual void Physics::HeightfieldProviderNotifications::OnHeightfieldDataChanged ( [[maybe_unused] ] const AZ::Aabb &  dirtyRegion,
[[maybe_unused] ] Physics::HeightfieldProviderNotifications::HeightfieldChangeMask  changeMask 
)
inlinevirtual

Called whenever the heightfield data changes.

Parameters
theAABB of the area of data that changed.

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