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_, _enableSensorEvents_, _internalValue_) ⇒ Object



580
581
582
583
584
585
586
587
588
589
590
591
592
# File 'lib/box2d_types.rb', line 580

def self.create_as(_userData_, _points_, _count_, _materials_, _materialCount_, _filter_, _isLoop_, _enableSensorEvents_, _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[:enableSensorEvents] = _enableSensorEvents_
  instance[:internalValue] = _internalValue_
  instance
end

Instance Method Details

#countObject



566
# File 'lib/box2d_types.rb', line 566

def count = self[:count]

#count=(v) ⇒ Object



567
# File 'lib/box2d_types.rb', line 567

def count=(v) self[:count] = v end

#enableSensorEventsObject



576
# File 'lib/box2d_types.rb', line 576

def enableSensorEvents = self[:enableSensorEvents]

#enableSensorEvents=(v) ⇒ Object



577
# File 'lib/box2d_types.rb', line 577

def enableSensorEvents=(v) self[:enableSensorEvents] = v end

#filterObject



572
# File 'lib/box2d_types.rb', line 572

def filter = self[:filter]

#filter=(v) ⇒ Object



573
# File 'lib/box2d_types.rb', line 573

def filter=(v) self[:filter] = v end

#internalValueObject



578
# File 'lib/box2d_types.rb', line 578

def internalValue = self[:internalValue]

#internalValue=(v) ⇒ Object



579
# File 'lib/box2d_types.rb', line 579

def internalValue=(v) self[:internalValue] = v end

#isLoopObject



574
# File 'lib/box2d_types.rb', line 574

def isLoop = self[:isLoop]

#isLoop=(v) ⇒ Object



575
# File 'lib/box2d_types.rb', line 575

def isLoop=(v) self[:isLoop] = v end

#materialCountObject



570
# File 'lib/box2d_types.rb', line 570

def materialCount = self[:materialCount]

#materialCount=(v) ⇒ Object



571
# File 'lib/box2d_types.rb', line 571

def materialCount=(v) self[:materialCount] = v end

#materialsObject



568
# File 'lib/box2d_types.rb', line 568

def materials = self[:materials]

#materials=(v) ⇒ Object



569
# File 'lib/box2d_types.rb', line 569

def materials=(v) self[:materials] = v end

#pointsObject



564
# File 'lib/box2d_types.rb', line 564

def points = self[:points]

#points=(v) ⇒ Object



565
# File 'lib/box2d_types.rb', line 565

def points=(v) self[:points] = v end

#userDataObject



562
# File 'lib/box2d_types.rb', line 562

def userData = self[:userData]

#userData=(v) ⇒ Object



563
# File 'lib/box2d_types.rb', line 563

def userData=(v) self[:userData] = v end