Box2D  3.0.0
A Real-Time-Oriented 2-D Physics Engine
Public Types | Public Member Functions | Public Attributes | List of all members
box2d::FixtureProxy Struct Reference

Fixture proxy. More...

#include <FixtureProxy.hpp>

Public Types

using size_type = std::remove_const< decltype(MaxContacts)>::type
 

Public Member Functions

 FixtureProxy ()=default
 
 FixtureProxy (const FixtureProxy &copy)=default
 
 FixtureProxy (const AABB bb, size_type pid, Fixture *f, child_count_t ci)
 

Public Attributes

AABB aabb
 Axis Aligned Bounding Box. 16-bytes. More...
 
Fixture *const fixture
 Fixture. 8-bytes. More...
 
const size_type proxyId
 Proxy ID. 4-bytes. More...
 
const child_count_t childIndex
 Child index. 4-bytes. More...
 

Detailed Description

Fixture proxy.

This proxy is used internally to connect fixtures to the broad-phase.

Note
This data structure is 32-bytes large (on at least one 64-bit platform).

Member Typedef Documentation

◆ size_type

using box2d::FixtureProxy::size_type = std::remove_const<decltype(MaxContacts)>::type

Constructor & Destructor Documentation

◆ FixtureProxy() [1/3]

box2d::FixtureProxy::FixtureProxy ( )
default

◆ FixtureProxy() [2/3]

box2d::FixtureProxy::FixtureProxy ( const FixtureProxy copy)
default

◆ FixtureProxy() [3/3]

box2d::FixtureProxy::FixtureProxy ( const AABB  bb,
size_type  pid,
Fixture f,
child_count_t  ci 
)
inline

Member Data Documentation

◆ aabb

AABB box2d::FixtureProxy::aabb

Axis Aligned Bounding Box. 16-bytes.

◆ childIndex

const child_count_t box2d::FixtureProxy::childIndex

Child index. 4-bytes.

◆ fixture

Fixture* const box2d::FixtureProxy::fixture

Fixture. 8-bytes.

◆ proxyId

const size_type box2d::FixtureProxy::proxyId

Proxy ID. 4-bytes.


The documentation for this struct was generated from the following file: