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