FClothLODDataCommon

Copyright Epic Games, Inc. All Rights Reserved.

Choose your operating system:

Windows

macOS

Linux

References

Module

ClothingSystemRuntimeCommon

Header

/Engine/Source/Runtime/ClothingSystemRuntimeCommon/Public/ClothLODData.h

Include

#include "ClothLODData.h"

Syntax

struct FClothLODDataCommon

Remarks

Common Cloth LOD representation for all clothing assets.

Variables

Name Description

Public variable

bool

 

bSmoothTransition

Whether to enable smooth transition from skinned mesh to clothed mesh.

Public variable

bool

 

bUseMultipleInfluences

Whether to use multiple triangles to interpolate from simulated cloth mesh to render mesh.

Public variable

FClothCollision...

 

CollisionData

Collision primitive and convex data for clothing collisions.

Public variable

FClothPhysicalM...

 

PhysicalMeshData

Raw phys mesh data.

Public variable

TArray< FPointW...

 

PointWeightMaps

Parameter masks defining the physics mesh masked data.

Public variable

float

 

SkinningKernelRadius

Radius of the weighting kernel used to interpolate from simulated cloth mesh to render mesh.

Public variable

TArray< FMeshTo...

 

TransitionDownSkinData

Skinning data for transitioning from a lower detail LOD to this one.

Public variable

TArray< FMeshTo...

 

TransitionUpSkinData

Skinning data for transitioning from a higher detail LOD to this one.

Functions

Name Description

Public function

void

 

GetParameterMasksForTarget

(
    const uint8 InTarget,
    TArray< FPointWeightMap* >& O...
)

Get all available parameter masks for the specified target.

Public function

void

 

PushWeightsToMesh()

Copy ParameterMasks_ to corresponding targets in ClothPhysicalMeshData_.

Public function

bool

 

Serialize

(
    FArchive& Ar
)

Custom serialize for transition.

Deprecated Variables

Name Description

Public variable

TArray< FClothP...

 

ParameterMasks_DEPRECATED