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



561
562
563
564
565
566
567
568
569
570
571
572
573
# File 'lib/box2d_types.rb', line 561

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



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

def count = self[:count]

#count=(v) ⇒ Object



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

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

#enableSensorEventsObject



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

def enableSensorEvents = self[:enableSensorEvents]

#enableSensorEvents=(v) ⇒ Object



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

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

#filterObject



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

def filter = self[:filter]

#filter=(v) ⇒ Object



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

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

#internalValueObject



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

def internalValue = self[:internalValue]

#internalValue=(v) ⇒ Object



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

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

#isLoopObject



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

def isLoop = self[:isLoop]

#isLoop=(v) ⇒ Object



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

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

#materialCountObject



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

def materialCount = self[:materialCount]

#materialCount=(v) ⇒ Object



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

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

#materialsObject



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

def materials = self[:materials]

#materials=(v) ⇒ Object



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

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

#pointsObject



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

def points = self[:points]

#points=(v) ⇒ Object



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

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

#userDataObject



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

def userData = self[:userData]

#userData=(v) ⇒ Object



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

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