UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ClothConfig.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "ClothConfigBase.h"
5#include "HAL/Platform.h"
8
9#include "ClothConfig.generated.h"
10
11class UObject;
13
15UENUM()
26
28UCLASS(Abstract, MinimalAPI)
30{
32public:
35
37 virtual void MigrateFrom(const FClothConfig_Legacy&) {}
38
40 virtual void MigrateFrom(const class UClothSharedConfigCommon*) {}
41
47 virtual bool MigrateTo(FClothConfig_Legacy&) const { return false; }
48
49 //~ Begin UClothConfigBase Interface
51 virtual bool NeedsSelfCollisionData() const override { return false; }
52
54 virtual bool NeedsInverseMasses() const override { return false; }
55
57 virtual bool NeedsNumInfluences() const override { return true; }
58
60 virtual bool NeedsTethers() const override { return false; }
61
63 virtual float GetSelfCollisionRadius() const override { return 0.f; }
64
66 virtual bool TethersUseGeodesicDistance() const override { return false; }
67 //~ End UClothConfigBase Interface
68};
69
71UCLASS(Abstract, MinimalAPI)
EClothMassMode
Definition ClothConfig.h:17
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
#define UENUM(...)
Definition ObjectMacros.h:749
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition ClothConfigBase.h:19
Definition ClothConfig.h:30
virtual bool NeedsTethers() const override
Definition ClothConfig.h:60
virtual float GetSelfCollisionRadius() const override
Definition ClothConfig.h:63
virtual bool NeedsSelfCollisionData() const override
Definition ClothConfig.h:51
virtual void MigrateFrom(const FClothConfig_Legacy &)
Definition ClothConfig.h:37
virtual bool TethersUseGeodesicDistance() const override
Definition ClothConfig.h:66
virtual bool MigrateTo(FClothConfig_Legacy &) const
Definition ClothConfig.h:47
virtual bool NeedsInverseMasses() const override
Definition ClothConfig.h:54
virtual void MigrateFrom(const class UClothSharedConfigCommon *)
Definition ClothConfig.h:40
virtual bool NeedsNumInfluences() const override
Definition ClothConfig.h:57
Definition ClothConfig.h:73
Definition Object.h:95
Definition ClothConfig_Legacy.h:67