UClothPhysicalMeshDataBase_Legacy

Copyright Epic Games, Inc. All Rights Reserved.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ClothingSystemRuntimeInterface

Header

/Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothPhysicalMeshDataBase_Legacy.h

Include

#include "ClothPhysicalMeshDataBase_Legacy.h"

Syntax

class UClothPhysicalMeshDataBase_Legacy : public UObject

Remarks

Deprecated, use FClothPhysicalMeshData instead. Simulation mesh points, topology, and spatial parameters defined on that topology.

Created curing asset import or created from a skeletal mesh.

Variables

Name Description

Public variable

TArray< FClothV...

 

BoneData

Indices and weights for each vertex, used to skin the mesh to create the reference pose.

Public variable

TArray< uint32 ...

 

Indices

Indices of the simulation mesh triangles.

Public variable

TArray< float >

 

InverseMasses

Inverse mass for each vertex in the physical mesh.

Public variable

int32

 

MaxBoneWeights

Maximum number of bone weights of any vetex.

Public variable

TArray< FVector...

 

Normals

Normal at each vertex.

Public variable

int32

 

NumFixedVerts

Number of fixed verts in the simulation mesh (fixed verts are just skinned and do not simulate)

Public variable

TArray< uint32 ...

 

SelfCollisionIndices

Valid indices to use for self collisions (reduced set of Indices)

Public variable

TArray< FColor ...

 

VertexColors

Color at each vertex.

Public variable

TArray< FVector...

 

Vertices

Positions of each simulation vertex.

Constructors

Destructors

Functions

Name Description

Public function Const

TArray< floa...

 

GetFloatArray

(
    const uint32 Id
)

Retrieve a registered vertex weight array by unique

Public function Const

TArray< uint...

 

GetFloatArrayIds()

Get ids for all registered weight arrays.

Public function Const

TArray< TArr...

 

GetFloatArrays()

Get all registered weight arrays.

Protected function

void

 

RegisterFloatArray

(
    const uint32 Id,
    TArray< float >* Array
)

Register an