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
| Signature | Name | Description |
|---|---|---|
FPhysicsShapeCookTicket() = default | FPhysicsShapeCookTicket | |
explicit FPhysicsShapeCookTicket(std::shared_ptr<FState> state) : m_state(std::m… | FPhysicsShapeCookTicket |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | IsValid | |
bool | IsReady | |
void | WaitReady | Blocks until the worker is done; for tools and tests, the game loop polls IsReady. |
FPhysicsPreparedShape | Get | Valid once IsReady; an invalid shape when the cook failed. |
Function details
FPhysicsShapeCookTicket
C++
FPhysicsShapeCookTicket() = defaultFPhysicsShapeCookTicket
C++
explicit FPhysicsShapeCookTicket(std::shared_ptr<FState> state) : m_state(std::move(state))IsValid
C++
bool IsValid() constIsReady
C++
bool IsReady() constWaitReady
C++
void WaitReady() constBlocks until the worker is done; for tools and tests, the game loop polls IsReady.
Get
C++
FPhysicsPreparedShape Get() constValid once IsReady; an invalid shape when the cook failed.
Generated from Physics/PhysicsShapeCook.h via physics.json · Nov 4, 2026Version 1.0.0