class

FPhysicsShapeCookTicket

The result of a background cook. The worker fills it in and flips Ready; the game thread polls IsReady (or WaitReady) and takes the shape. A cook that failed (a degenerate mesh, an unsupported hull) is Ready with an invalid shape.

Module
Physics
Header
#include "Physics/PhysicsShapeCook.h"
Namespace
Mowo

Constructors

SignatureNameDescription
FPhysicsShapeCookTicket() = defaultFPhysicsShapeCookTicket
explicit FPhysicsShapeCookTicket(std::shared_ptr<FState> state) : m_state(std::m…FPhysicsShapeCookTicket

Public functions

ReturnsNameDescription
boolIsValid
boolIsReady
voidWaitReadyBlocks until the worker is done; for tools and tests, the game loop polls IsReady.
FPhysicsPreparedShapeGetValid once IsReady; an invalid shape when the cook failed.

Function details

FPhysicsShapeCookTicket

C++
FPhysicsShapeCookTicket() = default

FPhysicsShapeCookTicket

C++
explicit FPhysicsShapeCookTicket(std::shared_ptr<FState> state) : m_state(std::move(state))

IsValid

C++
bool IsValid() const

IsReady

C++
bool IsReady() const

WaitReady

C++
void WaitReady() const

Blocks until the worker is done; for tools and tests, the game loop polls IsReady.

Get

C++
FPhysicsPreparedShape Get() const

Valid once IsReady; an invalid shape when the cook failed.

Generated from Physics/PhysicsShapeCook.h via physics.json · Nov 4, 2026Version 1.0.0