#include <SurfaceDataProviderRequestBus.h>
Inherits AZ::EBusSharedDispatchTraits< SurfaceDataProviderRequests >.
|
typedef AZ::u32 | BusIdType |
|
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
|
The EBus is used to request information about a surface. 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.
◆ GetSurfacePoints()
virtual void SurfaceData::SurfaceDataProviderRequests::GetSurfacePoints |
( |
const AZ::Vector3 & |
inPosition, |
|
|
SurfacePointList & |
surfacePointList |
|
) |
| const |
|
pure virtual |
Get all of the surface points that this provider has at the given input position.
- Parameters
-
inPosition | - The input position to query. Only XY are guaranteed to be valid, Z should be ignored. |
surfacePointList | - The input/output SurfacePointList to add any generated surface points to. |
◆ GetSurfacePointsFromList()
virtual void SurfaceData::SurfaceDataProviderRequests::GetSurfacePointsFromList |
( |
AZStd::span< const AZ::Vector3 > |
inPositions, |
|
|
SurfacePointList & |
surfacePointList |
|
) |
| const |
|
inlinevirtual |
Get all of the surface points that this provider has at the given input positions.
- Parameters
-
inPositions | - The input positions to query. Only XY are guaranteed to be valid, Z should be ignored. |
surfacePointList | - The input/output SurfacePointList to add any generated surface points to. |
The documentation for this class was generated from the following file:
- Gems/SurfaceData/Code/Include/SurfaceData/SurfaceDataProviderRequestBus.h