Module |
|
Header |
/Engine/Source/Runtime/ClothingSystemRuntimeCommon/Public/ClothPhysicalMeshData.h |
Include |
#include "ClothPhysicalMeshData.h" |
struct FClothPhysicalMeshData
Spatial simulation data for a mesh.
Name | Description | ||
---|---|---|---|
|
BoneData |
Indices and weights for each vertex, used to skin the mesh to create the reference pose. |
|
|
Indices |
Indices of the simulation mesh triangles. |
|
|
TArray< float > |
InverseMasses |
Inverse mass for each vertex in the physical mesh. |
|
MaxBoneWeights |
Maximum number of bone weights of any vetex. |
|
|
Normals |
Normal at each vertex. |
|
|
NumFixedVerts |
Number of fixed verts in the simulation mesh (fixed verts are just skinned and do not simulate) |
|
|
SelfCollisionIndices |
Valid indices to use for self collisions (reduced set of Indices) |
|
|
VertexColors |
Color at each vertex. |
|
|
Vertices |
Positions of each simulation vertex. |
|
|
WeightMaps |
The weight maps, or masks, used by this mesh, sorted by their target id. |
Name | Description | |
---|---|---|
|
FClothPhysicalMeshData() |
Construct an empty cloth physical mesh with default common targets. |
Name | Description | ||
---|---|---|---|
|
FPointWeight... |
AddWeightMap ( |
Retrieve a pointer to a registered vertex weight array by unique |
|
BuildSelfCollisionData ( |
Build the self collision indices for the relevant config. |
|
|
ClearWeightMaps() |
Clear out any default weight maps and delete any other ones. |
|
|
FPointWeight... |
FindOrAddWeightMap ( |
Retrieve a pointer to a registered vertex weight array by unique |
|
const FPoint... |
FindWeightMap ( |
Retrieve a pointer to a registered vertex weight array by unique |
|
FPointWeight... |
FindWeightMap ( |
Retrieve a pointer to a registered vertex weight array by unique |
|
const FPoint... |
GetWeightMap ( |
Retrieve a registered vertex weight array by unique |
|
FPointWeight... |
GetWeightMap ( |
Retrieve a registered vertex weight array by unique |
|
HasWeightMap ( |
Retrieve whether a vertex weight array has already been registered. |
|
|
MigrateFrom ( |
Migrate from same, used to migrate LOD data from the UClothLODDataCommon_Legacy. |
|
|
MigrateFrom |
Migrate from the legacy physical mesh data class, used to migrate LOD data from the UClothLODDataCommon_Legacy. |
|
|
Reset |
Reset the default common targets for this cloth physical mesh. |