#include <ModelLodAsset.h>
Inherits AZ::Data::AssetData.
|
| AZ_RTTI (ModelLodAsset, "{65B5A801-B9B9-4160-9CB4-D40DAA50B15C}", Data::AssetData) |
|
| AZ_CLASS_ALLOCATOR (ModelLodAsset, AZ::SystemAllocator) |
|
AZStd::span< const Mesh > | GetMeshes () const |
| Returns an array view into the collection of meshes owned by this lod.
|
|
const AZ::Aabb & | GetAabb () const |
| Returns the model-space axis-aligned bounding box of all meshes in the lod.
|
|
Data::Asset< BufferAsset > | GetIndexBufferAsset () const |
|
const BufferAssetView * | GetSemanticBufferAssetView (const AZ::Name &semantic, uint32_t meshIndex=0) const |
| A helper method for returning a specific buffer asset view related to mesh associated with mesh index.
|
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
static constexpr size_t | LodCountMax = 10 |
|
static const char * | DisplayName |
|
static const char * | Extension |
|
static const char * | Group |
|
|
class | ModelLodAssetCreator |
|
Contains a set of ModelLodAsset::Mesh objects and BufferAsset objects, representing the data a single level-of-detail for a Model. Serialized to a .azlod file. Actual vertex and index buffer data is stored in the BufferAssets.
The documentation for this class was generated from the following file:
- Gems/Atom/RPI/Code/Include/Atom/RPI.Reflect/Model/ModelLodAsset.h