Class: Box2D::ChainDef
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Box2D::ChainDef
- Defined in:
- lib/box2d_types.rb
Class Method Summary collapse
Instance Method Summary collapse
- #count ⇒ Object
- #count=(v) ⇒ Object
- #filter ⇒ Object
- #filter=(v) ⇒ Object
- #internalValue ⇒ Object
- #internalValue=(v) ⇒ Object
- #isLoop ⇒ Object
- #isLoop=(v) ⇒ Object
- #materialCount ⇒ Object
- #materialCount=(v) ⇒ Object
- #materials ⇒ Object
- #materials=(v) ⇒ Object
- #points ⇒ Object
- #points=(v) ⇒ Object
- #userData ⇒ Object
- #userData=(v) ⇒ Object
Class Method Details
.create_as(_userData_, _points_, _count_, _materials_, _materialCount_, _filter_, _isLoop_, _internalValue_) ⇒ Object
573 574 575 576 577 578 579 580 581 582 583 584 |
# File 'lib/box2d_types.rb', line 573 def self.create_as(_userData_, _points_, _count_, _materials_, _materialCount_, _filter_, _isLoop_, _internalValue_) instance = ChainDef.new instance[:userData] = _userData_ instance[:points] = _points_ instance[:count] = _count_ instance[:materials] = _materials_ instance[:materialCount] = _materialCount_ instance[:filter] = _filter_ instance[:isLoop] = _isLoop_ instance[:internalValue] = _internalValue_ instance end |
Instance Method Details
#count ⇒ Object
561 |
# File 'lib/box2d_types.rb', line 561 def count = self[:count] |
#count=(v) ⇒ Object
562 |
# File 'lib/box2d_types.rb', line 562 def count=(v) self[:count] = v end |
#filter ⇒ Object
567 |
# File 'lib/box2d_types.rb', line 567 def filter = self[:filter] |
#filter=(v) ⇒ Object
568 |
# File 'lib/box2d_types.rb', line 568 def filter=(v) self[:filter] = v end |
#internalValue ⇒ Object
571 |
# File 'lib/box2d_types.rb', line 571 def internalValue = self[:internalValue] |
#internalValue=(v) ⇒ Object
572 |
# File 'lib/box2d_types.rb', line 572 def internalValue=(v) self[:internalValue] = v end |
#isLoop ⇒ Object
569 |
# File 'lib/box2d_types.rb', line 569 def isLoop = self[:isLoop] |
#isLoop=(v) ⇒ Object
570 |
# File 'lib/box2d_types.rb', line 570 def isLoop=(v) self[:isLoop] = v end |
#materialCount ⇒ Object
565 |
# File 'lib/box2d_types.rb', line 565 def materialCount = self[:materialCount] |
#materialCount=(v) ⇒ Object
566 |
# File 'lib/box2d_types.rb', line 566 def materialCount=(v) self[:materialCount] = v end |
#materials ⇒ Object
563 |
# File 'lib/box2d_types.rb', line 563 def materials = self[:materials] |
#materials=(v) ⇒ Object
564 |
# File 'lib/box2d_types.rb', line 564 def materials=(v) self[:materials] = v end |
#points ⇒ Object
559 |
# File 'lib/box2d_types.rb', line 559 def points = self[:points] |
#points=(v) ⇒ Object
560 |
# File 'lib/box2d_types.rb', line 560 def points=(v) self[:points] = v end |
#userData ⇒ Object
557 |
# File 'lib/box2d_types.rb', line 557 def userData = self[:userData] |
#userData=(v) ⇒ Object
558 |
# File 'lib/box2d_types.rb', line 558 def userData=(v) self[:userData] = v end |