Open 3D Engine PhysX 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.
PhysX::Pipeline::Utils::AssetMaterialsData Struct Reference

A struct to store the materials of the mesh nodes selected in a mesh group. More...

#include <MeshExporter.h>

Public Attributes

AZStd::vector< AZStd::string > m_sourceSceneMaterialNames
 Material names coming from the source scene file.
 
AZStd::unordered_map< AZStd::string, size_t > m_materialIndexByName
 Look-up table for sourceSceneMaterialNames.
 
AZStd::unordered_map< AZStd::string, AZStd::vector< AZ::u16 > > m_nodesToPerFaceMaterialIndices
 Map of mesh nodes to their list of material indices associated to each face.
 

Detailed Description

A struct to store the materials of the mesh nodes selected in a mesh group.


The documentation for this struct was generated from the following file: