You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-OWNER: ryan.durand #ROBOMERGE-AUTHOR: ryan.durand #ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900 #ROBOMERGE-BOT: (v613-10869866) [CL 10870549 by ryan durand in Main branch]
52 lines
1.4 KiB
C++
52 lines
1.4 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "ClothConfigBase.generated.h"
|
|
|
|
/**
|
|
* Base class for simulator specific simulation controls.
|
|
* Each cloth instance on a skeletal mesh can have a unique cloth config
|
|
*/
|
|
UCLASS(Abstract)
|
|
class CLOTHINGSYSTEMRUNTIMEINTERFACE_API UClothConfigBase : public UObject
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
UClothConfigBase();
|
|
virtual ~UClothConfigBase();
|
|
|
|
/**
|
|
* Return whether self collision is enabled for this config.
|
|
*/
|
|
UE_DEPRECATED(4.25, "This function is deprecated. Please use NeedsSelfCollisionIndices instead.")
|
|
virtual bool HasSelfCollision() const
|
|
{ unimplemented(); return false; }
|
|
|
|
/**
|
|
* Return the self collision radius if building self collision indices is required for this config.
|
|
* Otherwise return 0.f.
|
|
*/
|
|
virtual float NeedsSelfCollisionIndices() const
|
|
{ return 0.f; }
|
|
};
|
|
|
|
/**
|
|
* These settings are shared between all instances on a skeletal mesh
|
|
* Deprecated, use UClothConfigBase instead.
|
|
*/
|
|
UCLASS(Abstract, Deprecated)
|
|
class CLOTHINGSYSTEMRUNTIMEINTERFACE_API UDEPRECATED_ClothSharedSimConfigBase : public UObject
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
UDEPRECATED_ClothSharedSimConfigBase() {}
|
|
virtual ~UDEPRECATED_ClothSharedSimConfigBase() {}
|
|
|
|
/**
|
|
* Return a new updated cloth shared config migrated from this current object.
|
|
*/
|
|
virtual UClothConfigBase* Migrate() { return nullptr; }
|
|
};
|