UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCookBodySetupInfo Struct Reference

#include <BodySetup.h>

Public Member Functions

ENGINE_API FCookBodySetupInfo ()
 

Public Attributes

FTriMeshCollisionData TriangleMeshDesc
 
EPhysXMeshCookFlags TriMeshCookFlags
 
EPhysXMeshCookFlags ConvexCookFlags
 
TArray< TArray< FVector > > NonMirroredConvexVertices
 
TArray< TArray< FVector > > MirroredConvexVertices
 
FString OuterDebugName
 
bool bCookNonMirroredConvex
 
bool bCookMirroredConvex
 
bool bConvexDeformableMesh
 
bool bCookTriMesh
 
bool bSupportUVFromHitResults
 
bool bSupportFaceRemap
 
bool bTriMeshError
 

Detailed Description

Helper struct to indicate which geometry needs to be cooked

Constructor & Destructor Documentation

◆ FCookBodySetupInfo()

FCookBodySetupInfo::FCookBodySetupInfo ( )

Member Data Documentation

◆ bConvexDeformableMesh

bool FCookBodySetupInfo::bConvexDeformableMesh

Whether the convex being cooked comes from a deformable mesh

◆ bCookMirroredConvex

bool FCookBodySetupInfo::bCookMirroredConvex

Whether to cook the mirror convex hulls

◆ bCookNonMirroredConvex

bool FCookBodySetupInfo::bCookNonMirroredConvex

Whether to cook the regular convex hulls

◆ bCookTriMesh

bool FCookBodySetupInfo::bCookTriMesh

Whether to cook trimesh collision

◆ bSupportFaceRemap

bool FCookBodySetupInfo::bSupportFaceRemap

Whether to support face remap, needed for physical material masks

◆ bSupportUVFromHitResults

bool FCookBodySetupInfo::bSupportUVFromHitResults

Whether to support UV from hit results

◆ bTriMeshError

bool FCookBodySetupInfo::bTriMeshError

Error generating cook info for trimesh

◆ ConvexCookFlags

EPhysXMeshCookFlags FCookBodySetupInfo::ConvexCookFlags

Convex cook flags

◆ MirroredConvexVertices

TArray<TArray<FVector> > FCookBodySetupInfo::MirroredConvexVertices

Vertices of NonMirroredConvex hulls

◆ NonMirroredConvexVertices

TArray<TArray<FVector> > FCookBodySetupInfo::NonMirroredConvexVertices

Vertices of NonMirroredConvex hulls

◆ OuterDebugName

FString FCookBodySetupInfo::OuterDebugName

Debug name helpful for runtime cooking warnings

◆ TriangleMeshDesc

FTriMeshCollisionData FCookBodySetupInfo::TriangleMeshDesc

Trimesh data for cooking

◆ TriMeshCookFlags

EPhysXMeshCookFlags FCookBodySetupInfo::TriMeshCookFlags

Trimesh cook flags


The documentation for this struct was generated from the following files: