Class: Box2D::FilterJointDef

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



912
913
914
915
916
917
918
919
# File 'lib/box2d_types.rb', line 912

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

Instance Method Details

#bodyIdAObject



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

def bodyIdA = self[:bodyIdA]

#bodyIdA=(v) ⇒ Object



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

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

#bodyIdBObject



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

def bodyIdB = self[:bodyIdB]

#bodyIdB=(v) ⇒ Object



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

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

#internalValueObject



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

def internalValue = self[:internalValue]

#internalValue=(v) ⇒ Object



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

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

#userDataObject



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

def userData = self[:userData]

#userData=(v) ⇒ Object



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

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