Class: Box2D::NullJointDef

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(_bodyIdA_, _bodyIdB_, _userData_, _internalValue_) ⇒ Object



923
924
925
926
927
928
929
930
# File 'lib/box2d_types.rb', line 923

def self.create_as(_bodyIdA_, _bodyIdB_, _userData_, _internalValue_)
  instance = NullJointDef.new
  instance[:bodyIdA] = _bodyIdA_
  instance[:bodyIdB] = _bodyIdB_
  instance[:userData] = _userData_
  instance[:internalValue] = _internalValue_
  instance
end

Instance Method Details

#bodyIdAObject



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

def bodyIdA = self[:bodyIdA]

#bodyIdA=(v) ⇒ Object



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

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

#bodyIdBObject



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

def bodyIdB = self[:bodyIdB]

#bodyIdB=(v) ⇒ Object



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

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

#internalValueObject



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

def internalValue = self[:internalValue]

#internalValue=(v) ⇒ Object



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

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

#userDataObject



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

def userData = self[:userData]

#userData=(v) ⇒ Object



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

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