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



553
554
555
556
557
558
559
560
561
562
563
564
565
# File 'lib/box2d_types.rb', line 553

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



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

def count = self[:count]

#count=(v) ⇒ Object



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

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

#enableSensorEventsObject



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

def enableSensorEvents = self[:enableSensorEvents]

#enableSensorEvents=(v) ⇒ Object



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

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

#filterObject



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

def filter = self[:filter]

#filter=(v) ⇒ Object



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

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

#internalValueObject



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

def internalValue = self[:internalValue]

#internalValue=(v) ⇒ Object



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

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

#isLoopObject



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

def isLoop = self[:isLoop]

#isLoop=(v) ⇒ Object



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

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

#materialCountObject



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

def materialCount = self[:materialCount]

#materialCount=(v) ⇒ Object



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

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

#materialsObject



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

def materials = self[:materials]

#materials=(v) ⇒ Object



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

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

#pointsObject



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

def points = self[:points]

#points=(v) ⇒ Object



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

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

#userDataObject



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

def userData = self[:userData]

#userData=(v) ⇒ Object



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

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