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



586
587
588
589
590
591
592
593
594
595
596
597
598
# File 'lib/box2d_types.rb', line 586

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



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

def count = self[:count]

#count=(v) ⇒ Object



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

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

#enableSensorEventsObject



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

def enableSensorEvents = self[:enableSensorEvents]

#enableSensorEvents=(v) ⇒ Object



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

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

#filterObject



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

def filter = self[:filter]

#filter=(v) ⇒ Object



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

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

#internalValueObject



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

def internalValue = self[:internalValue]

#internalValue=(v) ⇒ Object



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

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

#isLoopObject



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

def isLoop = self[:isLoop]

#isLoop=(v) ⇒ Object



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

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

#materialCountObject



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

def materialCount = self[:materialCount]

#materialCount=(v) ⇒ Object



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

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

#materialsObject



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

def materials = self[:materials]

#materials=(v) ⇒ Object



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

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

#pointsObject



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

def points = self[:points]

#points=(v) ⇒ Object



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

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

#userDataObject



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

def userData = self[:userData]

#userData=(v) ⇒ Object



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

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