#include <TerrainSystemBus.h>
Inherits EBusSharedDispatchTraits< TerrainAreaHeightRequests >.
|
typedef AZ::EntityId | BusIdType |
|
|
virtual void | GetHeight (const AZ::Vector3 &inPosition, AZ::Vector3 &outPosition, bool &terrainExists)=0 |
|
virtual void | GetHeights (AZStd::span< AZ::Vector3 > inOutPositionList, AZStd::span< bool > terrainExistsList)=0 |
|
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
|
A bus to signal the life times of terrain areas. This bus uses shared dispatches, which means that all requests on the bus can run in parallel, but will NOT run in parallel with bus connections / disconnections.
virtual void Terrain::TerrainAreaHeightRequests::GetHeight |
( |
const AZ::Vector3 & |
inPosition, |
|
|
AZ::Vector3 & |
outPosition, |
|
|
bool & |
terrainExists |
|
) |
| |
|
pure virtual |
Synchronous single input location. is the input position to query. will have the same XY as inPosition, but with the Z adjusted to the proper height. is true if the output position is valid terrain.
virtual void Terrain::TerrainAreaHeightRequests::GetHeights |
( |
AZStd::span< AZ::Vector3 > |
inOutPositionList, |
|
|
AZStd::span< bool > |
terrainExistsList |
|
) |
| |
|
pure virtual |
Synchronous multiple input locations. takes a list of Vector3s as input and returns the Vector3s with Z filled out. outputs flags for whether or not each output position is valid terrain.
The documentation for this class was generated from the following file:
- Gems/Terrain/Code/Source/TerrainSystem/TerrainSystemBus.h