Class: Box2D::ContactData
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Box2D::ContactData
- Defined in:
- lib/box2d_types.rb
Class Method Summary collapse
Instance Method Summary collapse
- #contactId ⇒ Object
- #contactId=(v) ⇒ Object
- #manifold ⇒ Object
- #manifold=(v) ⇒ Object
- #shapeIdA ⇒ Object
- #shapeIdA=(v) ⇒ Object
- #shapeIdB ⇒ Object
- #shapeIdB=(v) ⇒ Object
Class Method Details
.create_as(_contactId_, _shapeIdA_, _shapeIdB_, _manifold_) ⇒ Object
1428 1429 1430 1431 1432 1433 1434 1435 |
# File 'lib/box2d_types.rb', line 1428 def self.create_as(_contactId_, _shapeIdA_, _shapeIdB_, _manifold_) instance = ContactData.new instance[:contactId] = _contactId_ instance[:shapeIdA] = _shapeIdA_ instance[:shapeIdB] = _shapeIdB_ instance[:manifold] = _manifold_ instance end |
Instance Method Details
#contactId ⇒ Object
1420 |
# File 'lib/box2d_types.rb', line 1420 def contactId = self[:contactId] |
#contactId=(v) ⇒ Object
1421 |
# File 'lib/box2d_types.rb', line 1421 def contactId=(v) self[:contactId] = v end |
#manifold ⇒ Object
1426 |
# File 'lib/box2d_types.rb', line 1426 def manifold = self[:manifold] |
#manifold=(v) ⇒ Object
1427 |
# File 'lib/box2d_types.rb', line 1427 def manifold=(v) self[:manifold] = v end |
#shapeIdA ⇒ Object
1422 |
# File 'lib/box2d_types.rb', line 1422 def shapeIdA = self[:shapeIdA] |
#shapeIdA=(v) ⇒ Object
1423 |
# File 'lib/box2d_types.rb', line 1423 def shapeIdA=(v) self[:shapeIdA] = v end |
#shapeIdB ⇒ Object
1424 |
# File 'lib/box2d_types.rb', line 1424 def shapeIdB = self[:shapeIdB] |
#shapeIdB=(v) ⇒ Object
1425 |
# File 'lib/box2d_types.rb', line 1425 def shapeIdB=(v) self[:shapeIdB] = v end |