Open 3D Engine Atom Gem 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.
AZ::RPI::ModelLodAsset Class Referencefinal

#include <ModelLodAsset.h>

Inherits AZ::Data::AssetData.

Classes

class  Mesh
 

Public Member Functions

 AZ_RTTI (ModelLodAsset, "{65B5A801-B9B9-4160-9CB4-D40DAA50B15C}", Data::AssetData)
 
 AZ_CLASS_ALLOCATOR (ModelLodAsset, AZ::SystemAllocator)
 
AZStd::span< const MeshGetMeshes () 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< BufferAssetGetIndexBufferAsset () const
 
const BufferAssetViewGetSemanticBufferAssetView (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 Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Static Public Attributes

static constexpr size_t LodCountMax = 10
 
static const char * DisplayName
 
static const char * Extension
 
static const char * Group
 

Friends

class ModelLodAssetCreator
 

Detailed Description

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: