Class: Box2D::ChainDef

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/box2d_types.rb

Class Method Summary collapse

Instance Method Summary collapse

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

#countObject



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

#filterObject



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

#internalValueObject



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

#isLoopObject



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

#materialCountObject



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

#materialsObject



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

#pointsObject



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

#userDataObject



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