FPhysXCooking::CookConvex

Cooks the source convex data for the platform and stores the cooked data internally.

Windows
MacOS
Linux

Override Hierarchy

IPhysXCooking::CookConvex()

FPhysXCooking::CookConvex()

References

Module

PhysXCooking

Header

/Engine/Source/Runtime/PhysXCooking/Public/PhysXCooking.h

Include

#include "PhysXCooking.h"

Source

/Engine/Source/Runtime/PhysXCooking/Private/PhysXCooking.cpp

Syntax

virtual EPhysXCookingResult CookConvex
(
    FName Format,
    EPhysXMeshCookFlags CookFlags,
    const TArray< FVector > & SrcBuffer,
    TArray< uint8 > & OutBuffer
) const

Remarks

Cooks the source convex data for the platform and stores the cooked data internally.

Returns

An enum indicating full success, partial success, or failure (

Parameters

Parameter

Description

Format

The desired format

CookFlags

Flags used to provide options for this cook

SrcBuffer

The source buffer

OutBuffer

The resulting cooked data

See Also

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