FClothCollisionSource

Helper struct used to store info about a cloth collision source

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h

Include

#include "Components/SkeletalMeshComponent.h"

Syntax

struct FClothCollisionSource

Remarks

Helper struct used to store info about a cloth collision source

Variables

Name Description

Public variable

bool

 

bCached

Flag whether the cache is valid

Public variable

TWeakObjectPtr<...

 

CachedSkeletalMesh

Cached skeletal mesh used to invalidate the cache if the skeletal mesh has changed

Public variable

TArray< FClothC...

 

CachedSphereConnections

Cached sphere connections from physics asset

Public variable

TArray< FClothC...

 

CachedSpheres

Cached spheres from physics asset

Public variable

FDelegateHandle

 

OnBoneTransformsFinalizedHandle

Callback used to remove the cloth transform updates delegate

Public variable

TWeakObjectPtr<...

 

SourceComponent

Component that collision data will be copied from

Public variable

TWeakObjectPtr<...

 

SourcePhysicsAsset

Physics asset to use to generate collision against the source component

Constructors

Name Description

Public function

FClothCollisionSource

(
    USkeletalMeshComponent* InSour...,
    UPhysicsAsset* InSourcePhysics...,
    const FOnBoneTransformsFinalizedMul...
)

Destructors

Name Description

Public function

~FClothCollisionSource()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss