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



890
891
892
893
894
895
896
897
# File 'lib/box2d_types.rb', line 890

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



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

def bodyIdA = self[:bodyIdA]

#bodyIdA=(v) ⇒ Object



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

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

#bodyIdBObject



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

def bodyIdB = self[:bodyIdB]

#bodyIdB=(v) ⇒ Object



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

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

#internalValueObject



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

def internalValue = self[:internalValue]

#internalValue=(v) ⇒ Object



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

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

#userDataObject



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

def userData = self[:userData]

#userData=(v) ⇒ Object



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

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