EPhysXMeshCookFlags

Windows
MacOS
Linux

References

Module

PhysicsCore

Header

/Engine/Source/Runtime/PhysicsCore/Public/IPhysXCooking.h

Include

#include "IPhysXCooking.h"

Syntax

enum EPhysXMeshCookFlags
{
    Default                        = 0x0,
    DeformableMesh                 = 0x1,
    FastCook                       = 0x2,
    SuppressFaceRemapTable         = 0x4,
    DisableActiveEdgePrecompute    = 0x8,
}

Values

Name

Description

Default

DeformableMesh

Don't perform mesh cleaning, so resulting mesh has same vertex order as input mesh.

FastCook

Prioritize cooking speed over runtime speed.

SuppressFaceRemapTable

Do not create remap table for this mesh.

DisableActiveEdgePrecompute

Turn off ActiveEdgePrecompute (This makes cooking faster, but will slow contact generation)

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