Navigation
API > API/Runtime > API/Runtime/Engine
Helper struct used to store info about a cloth collision source
| Name | FClothCollisionSource |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/ClothCollisionSource.h |
| Include Path | #include "ClothCollisionSource.h" |
Syntax
struct FClothCollisionSource
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FClothCollisionSource
(
USkeletalMeshComponent* InSourceComponent, |
ClothCollisionSource.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FClothCollisionSource() |
ClothCollisionSource.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCached | bool | Flag whether the cache is valid | ClothCollisionSource.h | |
| CachedSkeletalMesh | TWeakObjectPtr< USkeletalMesh > | Cached skeletal mesh used to invalidate the cache if the skeletal mesh has changed | ClothCollisionSource.h | |
| CachedSphereConnections | TArray< FClothCollisionPrim_SphereConnection > | Cached sphere connections from physics asset | ClothCollisionSource.h | |
| CachedSpheres | TArray< FClothCollisionPrim_Sphere > | Cached spheres from physics asset | ClothCollisionSource.h | |
| OnBoneTransformsFinalizedHandle | FDelegateHandle | Callback used to remove the cloth transform updates delegate | ClothCollisionSource.h | |
| SourceComponent | TWeakObjectPtr< USkeletalMeshComponent > | Component that collision data will be copied from | ClothCollisionSource.h | |
| SourcePhysicsAsset | TWeakObjectPtr< UPhysicsAsset > | Physics asset to use to generate collision against the source component | ClothCollisionSource.h |