FCookBodySetupInfo

Helper struct to indicate which geometry needs to be cooked

Windows
MacOS
Linux

Syntax

struct FCookBodySetupInfo

Remarks

Helper struct to indicate which geometry needs to be cooked

Variables

Name Description

Public variable

bool

 

bConvexDeformableMesh

Whether the convex being cooked comes from a deformable mesh

Public variable

bool

 

bCookMirroredConvex

Whether to cook the mirror convex hulls

Public variable

bool

 

bCookNonMirroredConvex

Whether to cook the regular convex hulls

Public variable

bool

 

bCookTriMesh

Whether to cook trimesh collision

Public variable

bool

 

bSupportUVFromHitResults

Whether to support UV from hit results

Public variable

bool

 

bTriMeshError

Error generating cook info for trimesh

Public variable

EPhysXMeshCookF...

 

ConvexCookFlags

Convex cook flags

Public variable

TArray< TArray<...

 

MirroredConvexVertices

Vertices of NonMirroredConvex hulls

Public variable

TArray< TArray<...

 

NonMirroredConvexVertices

Vertices of NonMirroredConvex hulls

Public variable

FString

 

OuterDebugName

Debug name helpful for runtime cooking warnings

Public variable

FTriMeshCollisi...

 

TriangleMeshDesc

Trimesh data for cooking

Public variable

EPhysXMeshCookF...

 

TriMeshCookFlags

Trimesh cook flags

Constructors

Name Description

Public function

FCookBodySetupInfo()

References

Module

Engine

Header

Runtime/Engine/Classes/PhysicsEngine/BodySetup.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback