11#include "ShapeElem.generated.h"
40#if WITH_EDITORONLY_DATA
44 , bContributeToMass(
true)
55 , bContributeToMass(
true)
61 : RestOffset(
Copy.RestOffset)
63 , bIsGenerated(
Copy.bIsGenerated)
66 , ShapeType(
Copy.ShapeType)
67 , bContributeToMass(
Copy.bContributeToMass)
84 check(T::StaticShapeType == ShapeType);
124 UPROPERTY(Category = Shape, EditAnywhere)
127#if WITH_EDITORONLY_DATA
129 UPROPERTY(Category = Shape, EditAnywhere, DisplayName=
"Collision Generated")
130 uint8 bIsGenerated : 1;
137 RestOffset =
Other.RestOffset;
138 ShapeType =
Other.ShapeType;
140 bContributeToMass =
Other.bContributeToMass;
142#if WITH_EDITORONLY_DATA
143 bIsGenerated =
Other.bIsGenerated;
158 uint8 bContributeToMass : 1;
#define check(expr)
Definition AssertionMacros.h:314
#define WITH_EDITORONLY_DATA
Definition CoreMiscDefines.h:24
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
return true
Definition ExternalRpcRegistry.cpp:601
UE::Math::TTransform< double > FTransform
Definition MathFwd.h:53
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define UENUM(...)
Definition ObjectMacros.h:749
#define USTRUCT(...)
Definition ObjectMacros.h:746
#define GENERATED_USTRUCT_BODY(...)
Definition ObjectMacros.h:767
USkinnedMeshComponent float
Definition SkinnedMeshComponent.h:60
if(Failed) console_printf("Failed.\n")
Definition MaterialRenderProxy.h:102
Definition NameTypes.h:617
Definition PrimitiveDrawInterface.h:19
Definition EnumAsByte.h:22
Definition PhysicsAsset.h:13
Type
Definition ShapeElem.h:17
@ LevelSet
Definition ShapeElem.h:23
@ Unknown
Definition ShapeElem.h:28
@ SkinnedTriangleMesh
Definition ShapeElem.h:26
@ SkinnedLevelSet
Definition ShapeElem.h:24
@ Sphyl
Definition ShapeElem.h:20
@ TaperedCapsule
Definition ShapeElem.h:22
@ MLLevelSet
Definition ShapeElem.h:25
Definition EngineTypes.h:1571
Type
Definition EngineTypes.h:1573
@ false
Definition radaudio_common.h:23
Definition PhysicsInterfaceTypesCore.h:199
Definition ShapeElem.h:35
virtual ENGINE_API ~FKShapeElem()
virtual void DrawElemWire(class FPrimitiveDrawInterface *PDI, const FTransform &ElemTM, const float Scale, const FColor Color) const
Definition ShapeElem.h:118
virtual FTransform GetTransform() const
Definition ShapeElem.h:113
FKShapeElem(const FKShapeElem &Copy)
Definition ShapeElem.h:60
void SetContributeToMass(bool bInContributeToMass)
Definition ShapeElem.h:105
EAggCollisionShape::Type GetShapeType() const
Definition ShapeElem.h:99
FKShapeElem(EAggCollisionShape::Type InShapeType)
Definition ShapeElem.h:49
void SetName(const FName &InName)
Definition ShapeElem.h:96
bool GetContributeToMass() const
Definition ShapeElem.h:102
T * GetShapeCheck()
Definition ShapeElem.h:82
virtual void DrawElemSolid(class FPrimitiveDrawInterface *PDI, const FTransform &ElemTM, const float Scale, const class FMaterialRenderProxy *MaterialRenderProxy) const
Definition ShapeElem.h:119
ECollisionEnabled::Type GetCollisionEnabled() const
Definition ShapeElem.h:111
void SetCollisionEnabled(ECollisionEnabled::Type InCollisionEnabled)
Definition ShapeElem.h:108
const FName & GetName() const
Definition ShapeElem.h:93
void CloneElem(const FKShapeElem &Other)
Definition ShapeElem.h:135
static ENGINE_API EAggCollisionShape::Type StaticShapeType
Definition ShapeElem.h:90
const FKShapeElem & operator=(const FKShapeElem &Other)
Definition ShapeElem.h:75
const FUserData * GetUserData() const
Definition ShapeElem.h:88