Open 3D Engine AzFramework 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.
|
VisibleGeometry describes visible geometry surfaces stored as generic indexed triangle lists. More...
#include <VisibleGeometryBus.h>
Public Member Functions | |
AZ_TYPE_INFO (VisibleGeometry, "{4B011208-B105-4BC1-A4F3-FD5C44785D71}") | |
AZ_CLASS_ALLOCATOR (VisibleGeometry, AZ::SystemAllocator) | |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Public Attributes | |
AZ::Matrix4x4 | m_transform |
Local to world matrix transforming vertices into world space. | |
AZStd::vector< float > | m_vertices |
Vertex list must contain 3 floats, XYZ, per vertex. | |
AZStd::vector< uint32_t > | m_indices |
Index list must contain 3 uint32_t per triangle face. Each index references a position in the vertex list. | |
bool | m_transparent = false |
Flag signifying if the geometry has transparent elements. | |
VisibleGeometry describes visible geometry surfaces stored as generic indexed triangle lists.