Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodySetup.h |
Include | #include "PhysicsEngine/BodySetup.h" |
Syntax
struct FCookBodySetupInfo
Remarks
Helper struct to indicate which geometry needs to be cooked
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bConvexDeformableMesh | Whether the convex being cooked comes from a deformable mesh |
![]() |
bool | bCookMirroredConvex | Whether to cook the mirror convex hulls |
![]() |
bool | bCookNonMirroredConvex | Whether to cook the regular convex hulls |
![]() |
bool | bCookTriMesh | Whether to cook trimesh collision |
![]() |
bool | bSupportFaceRemap | Whether to support face remap, needed for physical material masks |
![]() |
bool | bSupportUVFromHitResults | Whether to support UV from hit results |
![]() |
bool | bTriMeshError | Error generating cook info for trimesh |
![]() |
EPhysXMeshCookFlags | ConvexCookFlags | Convex cook flags |
![]() |
TArray< TArray< FVector > > | MirroredConvexVertices | Vertices of NonMirroredConvex hulls |
![]() |
TArray< TArray< FVector > > | NonMirroredConvexVertices | Vertices of NonMirroredConvex hulls |
![]() |
FString | OuterDebugName | Debug name helpful for runtime cooking warnings |
![]() |
FTriMeshCollisionData | TriangleMeshDesc | Trimesh data for cooking |
![]() |
EPhysXMeshCookFlags | TriMeshCookFlags | Trimesh cook flags |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |