Open 3D Engine NvCloth 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.
NvCloth::MeshAssetHelper Class Reference

Helper class to obtain cloth information from a Mesh Asset. More...

#include <MeshAssetHelper.h>

Inherits NvCloth::AssetHelper.

Public Member Functions

 AZ_RTTI (MeshAssetHelper, "{292066E4-DEB8-47C6-94CA-7BF1D75129F7}", AssetHelper)
 
 MeshAssetHelper (AZ::EntityId entityId)
 
void GatherClothMeshNodes (MeshNodeList &meshNodes) override
 Populates the list of mesh nodes inside the Asset that contains cloth information.
 
bool ObtainClothMeshNodeInfo (const AZStd::string &meshNode, MeshNodeInfo &meshNodeInfo, MeshClothInfo &meshClothInfo) override
 Extracts the cloth mesh information of a node inside the Asset.
 
- Public Member Functions inherited from NvCloth::AssetHelper
 AZ_RTTI (AssetHelper, "{8BBDFB6C-4615-4092-B38A-A1FEFEBD1A1F}")
 
 AssetHelper (AZ::EntityId entityId)
 
virtual void GatherClothMeshNodes (MeshNodeList &meshNodes)=0
 Populates the list of mesh nodes inside the Asset that contains cloth information.
 
virtual bool ObtainClothMeshNodeInfo (const AZStd::string &meshNode, MeshNodeInfo &meshNodeInfo, MeshClothInfo &meshClothInfo)=0
 Extracts the cloth mesh information of a node inside the Asset.
 

Additional Inherited Members

- Static Public Member Functions inherited from NvCloth::AssetHelper
static AZStd::unique_ptr< AssetHelperCreateAssetHelper (AZ::EntityId entityId)
 Creates the appropriate asset helper depending on the entity's render service.
 
- Static Protected Member Functions inherited from NvCloth::AssetHelper
static float ConvertBackstopOffset (float backstopOffset)
 
- Protected Attributes inherited from NvCloth::AssetHelper
AZ::EntityId m_entityId
 

Detailed Description

Helper class to obtain cloth information from a Mesh Asset.

Member Function Documentation

◆ GatherClothMeshNodes()

void NvCloth::MeshAssetHelper::GatherClothMeshNodes ( MeshNodeList &  meshNodes)
overridevirtual

Populates the list of mesh nodes inside the Asset that contains cloth information.

Implements NvCloth::AssetHelper.

◆ ObtainClothMeshNodeInfo()

bool NvCloth::MeshAssetHelper::ObtainClothMeshNodeInfo ( const AZStd::string &  meshNode,
MeshNodeInfo meshNodeInfo,
MeshClothInfo meshClothInfo 
)
overridevirtual

Extracts the cloth mesh information of a node inside the Asset.

Implements NvCloth::AssetHelper.


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