载入中...
搜索中...
未找到
Fixture.h
浏览该文件的文档.
2D rigid body (Box2D) in pixel-space coordinates. Owned by a World; create shapes with newRectangleFi...
Definition Body.h:21
2D fixture: a shape attached to a Body with material + filter settings. Also carries a string tag use...
Definition Fixture.h:18
b2Fixture * raw()
Exposes the underlying Box2D fixture for tightly-scoped backend integration.
Definition Fixture.h:93
Fixture & operator=(const Fixture &)=delete
const b2Fixture * raw() const
Exposes the underlying Box2D fixture for read-only backend integration.
Definition Fixture.h:102
Fixture(const Fixture &)=delete
void setTag(const std::string &tag)
Arbitrary string tag surfaced in begin/end contact events.
Definition Fixture.h:49
Box2D world wrapper (2D physics) with pixel-space coordinates. Handles stepping, gravity,...
Definition World.h:41