Open 3D Engine PhysX Gem 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.
PhysX::Pipeline::MeshAsset Class Reference

Represents a PhysX mesh asset. This is an AZ::Data::AssetData wrapper around MeshAssetData. More...

#include <MeshAsset.h>

Inherits AZ::Data::AssetData.

Public Member Functions

 AZ_CLASS_ALLOCATOR (MeshAsset, AZ::SystemAllocator)
 
 AZ_RTTI (MeshAsset, "{7A2871B9-5EAB-4DE0-A901-B0D2C6920DDB}", AZ::Data::AssetData)
 
void SetData (const MeshAssetData &assetData)
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

MeshAssetData m_assetData
 

Detailed Description

Represents a PhysX mesh asset. This is an AZ::Data::AssetData wrapper around MeshAssetData.

Member Function Documentation

◆ SetData()

void PhysX::Pipeline::MeshAsset::SetData ( const MeshAssetData assetData)

Sets the mesh data for this mesh asset and marks it as ready. This is useful when creating an in-memory mesh asset.


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