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