![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ClothPhysicalMeshData.h>
Public Attributes | |
| TArray< FVector3f > | Vertices |
| TArray< FVector3f > | Normals |
| TArray< uint32 > | Indices |
| TMap< uint32, FPointWeightMap > | WeightMaps |
| TArray< float > | InverseMasses |
| TArray< FClothVertBoneData > | BoneData |
| TSet< int32 > | SelfCollisionVertexSet |
| FClothTetherData | EuclideanTethers |
| FClothTetherData | GeodesicTethers |
| int32 | MaxBoneWeights |
| int32 | NumFixedVerts |
| TArray< uint32 > | SelfCollisionIndices |
Spatial simulation data for a mesh.
| FClothPhysicalMeshData::FClothPhysicalMeshData | ( | ) |
Construct an empty cloth physical mesh with default common targets.
|
default |
|
default |
|
inline |
Retrieve a pointer to a registered vertex weight array by unique
| Id,or | add one if it doesn't exist already. |
Build the self collision indices with the specified radius.
| void FClothPhysicalMeshData::CalculateInverseMasses | ( | ) |
Recalculate the node inverse masses.
| void FClothPhysicalMeshData::CalculateNumInfluences | ( | ) |
Recalculate the number of influences for the bone data.
| void FClothPhysicalMeshData::CalculateTethers | ( | bool | bUseEuclideanDistance, |
| bool | bUseGeodesicDistance | ||
| ) |
Recalculate the long range attachment tethers.
| void FClothPhysicalMeshData::ClearWeightMaps | ( | ) |
Clear out any default weight maps and delete any other ones.
|
inline |
Retrieve a pointer to a registered vertex weight array by unique
| Id,or | add one if it doesn't exist already. |
|
inline |
Retrieve a pointer to a registered vertex weight array by unique
| Id,or | nullptr if none is found. |
|
inline |
Retrieve a pointer to a registered vertex weight array by unique
| Id,or | nullptr if none is found. |
|
inline |
Retrieve a registered vertex weight array by unique
| Id. | The array must exists or this function will assert. |
|
inline |
Retrieve a registered vertex weight array by unique
| Id. | The array must exists or this function will assert. |
Retrieve whether a vertex weight array has already been registered.
| void FClothPhysicalMeshData::MigrateFrom | ( | FClothPhysicalMeshData & | ClothPhysicalMeshData | ) |
Migrate from same, used to migrate LOD data from the UClothLODDataCommon_Legacy.
| void FClothPhysicalMeshData::MigrateFrom | ( | UClothPhysicalMeshDataBase_Legacy * | ClothPhysicalMeshDataBase | ) |
Migrate from the legacy physical mesh data class, used to migrate LOD data from the UClothLODDataCommon_Legacy.
|
default |
Reset the default common targets for this cloth physical mesh.
| TArray<FClothVertBoneData> FClothPhysicalMeshData::BoneData |
| FClothTetherData FClothPhysicalMeshData::EuclideanTethers |
| FClothTetherData FClothPhysicalMeshData::GeodesicTethers |
| int32 FClothPhysicalMeshData::MaxBoneWeights |
| int32 FClothPhysicalMeshData::NumFixedVerts |
| TSet<int32> FClothPhysicalMeshData::SelfCollisionVertexSet |
| TMap<uint32, FPointWeightMap> FClothPhysicalMeshData::WeightMaps |