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::AssetHelper Class Referenceabstract

Interface to obtain cloth information from inside an Asset. More...

#include <AssetHelper.h>

Inherited by NvCloth::MeshAssetHelper.

Public Member Functions

 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.
 

Static Public Member Functions

static AZStd::unique_ptr< AssetHelperCreateAssetHelper (AZ::EntityId entityId)
 Creates the appropriate asset helper depending on the entity's render service.
 

Static Protected Member Functions

static float ConvertBackstopOffset (float backstopOffset)
 

Protected Attributes

AZ::EntityId m_entityId
 

Detailed Description

Interface to obtain cloth information from inside an Asset.

Member Function Documentation

◆ GatherClothMeshNodes()

virtual void NvCloth::AssetHelper::GatherClothMeshNodes ( MeshNodeList &  meshNodes)
pure virtual

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

Implemented in NvCloth::MeshAssetHelper.

◆ ObtainClothMeshNodeInfo()

virtual bool NvCloth::AssetHelper::ObtainClothMeshNodeInfo ( const AZStd::string &  meshNode,
MeshNodeInfo meshNodeInfo,
MeshClothInfo meshClothInfo 
)
pure virtual

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

Implemented in NvCloth::MeshAssetHelper.


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