FCookBodySetupInfo

Helper struct to indicate which geometry needs to be cooked

Windows
MacOS
Linux

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

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

 

bSupportFaceRemap

Whether to support face remap, needed for physical material masks

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()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss