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
- #manifold ⇒ Object
- #manifold=(v) ⇒ Object
- #shapeIdA ⇒ Object
- #shapeIdA=(v) ⇒ Object
- #shapeIdB ⇒ Object
- #shapeIdB=(v) ⇒ Object
Class Method Details
.create_as(_shapeIdA_, _shapeIdB_, _manifold_) ⇒ Object
1471 1472 1473 1474 1475 1476 1477 |
# File 'lib/box2d_types.rb', line 1471 def self.create_as(_shapeIdA_, _shapeIdB_, _manifold_) instance = ContactData.new instance[:shapeIdA] = _shapeIdA_ instance[:shapeIdB] = _shapeIdB_ instance[:manifold] = _manifold_ instance end |
Instance Method Details
#manifold ⇒ Object
1469 |
# File 'lib/box2d_types.rb', line 1469 def manifold = self[:manifold] |
#manifold=(v) ⇒ Object
1470 |
# File 'lib/box2d_types.rb', line 1470 def manifold=(v) self[:manifold] = v end |
#shapeIdA ⇒ Object
1465 |
# File 'lib/box2d_types.rb', line 1465 def shapeIdA = self[:shapeIdA] |
#shapeIdA=(v) ⇒ Object
1466 |
# File 'lib/box2d_types.rb', line 1466 def shapeIdA=(v) self[:shapeIdA] = v end |
#shapeIdB ⇒ Object
1467 |
# File 'lib/box2d_types.rb', line 1467 def shapeIdB = self[:shapeIdB] |
#shapeIdB=(v) ⇒ Object
1468 |
# File 'lib/box2d_types.rb', line 1468 def shapeIdB=(v) self[:shapeIdB] = v end |