| IPhysXCooking::CreateConvex()
|
Module |
|
Header |
/Engine/Source/Runtime/PhysXCooking/Public/PhysXCooking.h |
Include |
#include "PhysXCooking.h" |
Source |
/Engine/Source/Runtime/PhysXCooking/Private/PhysXCooking.cpp |
virtual EPhysXCookingResult CreateConvex
(
FName Format,
EPhysXMeshCookFlags CookFlags,
const TArray< FVector > & SrcBuffer,
physx::PxConvexMesh *& OutBuffer
) const
Cooks the source convex data for the platform and returns the PhysX geometry directly (meant for runtime when you just need the geometry directly without serializing out)
The cooked convex mesh geometry
Parameter |
Description |
---|---|
Format |
The desired format |
CookFlags |
Flags used to provide options for this cook |
SrcBuffer |
The source buffer |
OutBuffer |
The resulting cooked data |