Implementation of non-solver specific, but common Engine related functionality. 更多...
#include <ClothingAsset.h>
继承自 UClothingAssetBase .
Public 成员函数 | |
| virtual void | BuildSelfCollisionData () override |
| Builds self collision data. 更多... | |
| void | CalculateReferenceBoneIndex () |
| Calculates the preferred root bone for the simulation. | |
| template<typename ClothConfigType , typename = typename TEnableIf<TIsDerivedFrom<ClothConfigType, UClothConfigBase>::IsDerived>::Type> | |
| ClothConfigType * | GetClothConfig () |
| Return a cloth config pointer of the desired cloth config type, or nullptr if there isn't any suitable. | |
| template<typename ClothConfigType , typename = typename TEnableIf<TIsDerivedFrom<ClothConfigType, UClothConfigBase>::IsDerived>::Type> | |
| const ClothConfigType * | GetClothConfig () const |
| Return a const cloth config pointer of the desired cloth config type, or nullptr if there isn't any suitable. | |
| virtual int32 | GetNumLods () const override |
Returns the number of valid LOD's (length of the ClothLodData array). | |
| virtual bool | IsValidLod (int32 InLodIndex) const override |
Returns true if InLodIndex is a valid LOD id (index into ClothLodData). | |
| virtual void | PostLoad () override |
| Migrate deprecated objects. | |
| virtual void | PostUpdateAllAssets () override |
| Propagate the shared simulation configs between assets. 更多... | |
| virtual void | RefreshBoneMapping (USkeletalMesh *InSkelMesh) override |
Rebuilds the UsedBoneIndices array from looking up the entries in the UsedBoneNames array, in the InSkelMesh's reference skeleton. | |
| virtual void | Serialize (FArchive &Ar) override |
| Serialize deprecated objects. | |
Public 属性 | |
| FClothConfig_Legacy | ClothConfig_DEPRECATED |
Deprecated property for transitioning the FClothConfig struct to the UClothConfigBase array, in a new property called ClothConfigs. | |
Implementation of non-solver specific, but common Engine related functionality.
Solver specific implementations may wish to override this class to construct their own default instances of child classes, such as ClothSimConfig and CustomData, as well as override the AddNewLod() factory to build their own implementation of UClothLODDataBase.
|
overridevirtual |
Builds self collision data.
The default behavior is if the ClothSimConfig reports that self collisions are enabled, it envokes BuildSelfCollisionData() on each ClothLodData's ClothPhysicalMeshData member.
|
overridevirtual |
Propagate the shared simulation configs between assets.
Called after all cloth assets sharing the same simulation are loaded.