Open 3D Engine AzFramework API Reference 23.10.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 AZ::ComponentBus.

Public Types

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

Public Member Functions

virtual void OnHeightfieldDataChanged (const AZ::Aabb &dirtyRegion, 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

◆ OnHeightfieldDataChanged()

virtual void Physics::HeightfieldProviderNotifications::OnHeightfieldDataChanged ( const AZ::Aabb &  dirtyRegion,
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: