engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FClothPhysicalMeshData结构体 参考

Spatial simulation data for a mesh. 更多...

#include <ClothPhysicalMeshData.h>

Public 成员函数

template<typename T >
FPointWeightMap & AddWeightMap (const T Target)
 Retrieve a pointer to a registered vertex weight array by unique 更多...
 
void BuildSelfCollisionData (const TMap< FName, UClothConfigBase * > &ClothConfigs)
 Build the self collision indices for the relevant config.
 
void ClearWeightMaps ()
 Clear out any default weight maps and delete any other ones.
 
 FClothPhysicalMeshData ()
 Construct an empty cloth physical mesh with default common targets.
 
template<typename T >
FPointWeightMap & FindOrAddWeightMap (const T Target)
 Retrieve a pointer to a registered vertex weight array by unique 更多...
 
template<typename T >
FPointWeightMap * FindWeightMap (const T Target)
 Retrieve a pointer to a registered vertex weight array by unique 更多...
 
template<typename T >
const FPointWeightMap * FindWeightMap (const T Target) const
 Retrieve a pointer to a registered vertex weight array by unique 更多...
 
template<typename T >
FPointWeightMap & GetWeightMap (const T Target)
 Retrieve a registered vertex weight array by unique 更多...
 
template<typename T >
const FPointWeightMap & GetWeightMap (const T Target) const
 Retrieve a registered vertex weight array by unique 更多...
 
template<typename T >
bool HasWeightMap (const T Target) const
 Retrieve whether a vertex weight array has already been registered.
 
void MigrateFrom (FClothPhysicalMeshData &ClothPhysicalMeshData)
 Migrate from same, used to migrate LOD data from the UClothLODDataCommon_Legacy.
 
void MigrateFrom (UClothPhysicalMeshDataBase_Legacy *ClothPhysicalMeshDataBase)
 Migrate from the legacy physical mesh data class, used to migrate LOD data from the UClothLODDataCommon_Legacy.
 
void Reset (const int32 InNumVerts, const int32 InNumIndices)
 Reset the default common targets for this cloth physical mesh.
 

详细描述

Spatial simulation data for a mesh.

成员函数说明

◆ AddWeightMap()

template<typename T >
FPointWeightMap & FClothPhysicalMeshData::AddWeightMap ( const T  Target)
inline

Retrieve a pointer to a registered vertex weight array by unique

参数
Id,oradd one if it doesn't exist already.

◆ FindOrAddWeightMap()

template<typename T >
FPointWeightMap & FClothPhysicalMeshData::FindOrAddWeightMap ( const T  Target)
inline

Retrieve a pointer to a registered vertex weight array by unique

参数
Id,oradd one if it doesn't exist already.

◆ FindWeightMap() [1/2]

template<typename T >
FPointWeightMap * FClothPhysicalMeshData::FindWeightMap ( const T  Target)
inline

Retrieve a pointer to a registered vertex weight array by unique

参数
Id,ornullptr if none is found.

◆ FindWeightMap() [2/2]

template<typename T >
const FPointWeightMap * FClothPhysicalMeshData::FindWeightMap ( const T  Target) const
inline

Retrieve a pointer to a registered vertex weight array by unique

参数
Id,ornullptr if none is found.

◆ GetWeightMap() [1/2]

template<typename T >
FPointWeightMap & FClothPhysicalMeshData::GetWeightMap ( const T  Target)
inline

Retrieve a registered vertex weight array by unique

参数
Id.The array must exists or this function will assert.

◆ GetWeightMap() [2/2]

template<typename T >
const FPointWeightMap & FClothPhysicalMeshData::GetWeightMap ( const T  Target) const
inline

Retrieve a registered vertex weight array by unique

参数
Id.The array must exists or this function will assert.

该结构体的文档由以下文件生成: