Class: Box2D::PrismaticJointDef
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Box2D::PrismaticJointDef
- Defined in:
- lib/box2d_types.rb
Class Method Summary collapse
Instance Method Summary collapse
- #bodyIdA ⇒ Object
- #bodyIdA=(v) ⇒ Object
- #bodyIdB ⇒ Object
- #bodyIdB=(v) ⇒ Object
- #collideConnected ⇒ Object
- #collideConnected=(v) ⇒ Object
- #dampingRatio ⇒ Object
- #dampingRatio=(v) ⇒ Object
- #enableLimit ⇒ Object
- #enableLimit=(v) ⇒ Object
- #enableMotor ⇒ Object
- #enableMotor=(v) ⇒ Object
- #enableSpring ⇒ Object
- #enableSpring=(v) ⇒ Object
- #hertz ⇒ Object
- #hertz=(v) ⇒ Object
- #internalValue ⇒ Object
- #internalValue=(v) ⇒ Object
- #localAnchorA ⇒ Object
- #localAnchorA=(v) ⇒ Object
- #localAnchorB ⇒ Object
- #localAnchorB=(v) ⇒ Object
- #localAxisA ⇒ Object
- #localAxisA=(v) ⇒ Object
- #lowerTranslation ⇒ Object
- #lowerTranslation=(v) ⇒ Object
- #maxMotorForce ⇒ Object
- #maxMotorForce=(v) ⇒ Object
- #motorSpeed ⇒ Object
- #motorSpeed=(v) ⇒ Object
- #referenceAngle ⇒ Object
- #referenceAngle=(v) ⇒ Object
- #upperTranslation ⇒ Object
- #upperTranslation=(v) ⇒ Object
- #userData ⇒ Object
- #userData=(v) ⇒ Object
Class Method Details
.create_as(_bodyIdA_, _bodyIdB_, _localAnchorA_, _localAnchorB_, _localAxisA_, _referenceAngle_, _enableSpring_, _hertz_, _dampingRatio_, _enableLimit_, _lowerTranslation_, _upperTranslation_, _enableMotor_, _maxMotorForce_, _motorSpeed_, _collideConnected_, _userData_, _internalValue_) ⇒ Object
990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 |
# File 'lib/box2d_types.rb', line 990 def self.create_as(_bodyIdA_, _bodyIdB_, _localAnchorA_, _localAnchorB_, _localAxisA_, _referenceAngle_, _enableSpring_, _hertz_, _dampingRatio_, _enableLimit_, _lowerTranslation_, _upperTranslation_, _enableMotor_, _maxMotorForce_, _motorSpeed_, _collideConnected_, _userData_, _internalValue_) instance = PrismaticJointDef.new instance[:bodyIdA] = _bodyIdA_ instance[:bodyIdB] = _bodyIdB_ instance[:localAnchorA] = _localAnchorA_ instance[:localAnchorB] = _localAnchorB_ instance[:localAxisA] = _localAxisA_ instance[:referenceAngle] = _referenceAngle_ instance[:enableSpring] = _enableSpring_ instance[:hertz] = _hertz_ instance[:dampingRatio] = _dampingRatio_ instance[:enableLimit] = _enableLimit_ instance[:lowerTranslation] = _lowerTranslation_ instance[:upperTranslation] = _upperTranslation_ instance[:enableMotor] = _enableMotor_ instance[:maxMotorForce] = _maxMotorForce_ instance[:motorSpeed] = _motorSpeed_ instance[:collideConnected] = _collideConnected_ instance[:userData] = _userData_ instance[:internalValue] = _internalValue_ instance end |
Instance Method Details
#bodyIdA ⇒ Object
954 |
# File 'lib/box2d_types.rb', line 954 def bodyIdA = self[:bodyIdA] |
#bodyIdA=(v) ⇒ Object
955 |
# File 'lib/box2d_types.rb', line 955 def bodyIdA=(v) self[:bodyIdA] = v end |
#bodyIdB ⇒ Object
956 |
# File 'lib/box2d_types.rb', line 956 def bodyIdB = self[:bodyIdB] |
#bodyIdB=(v) ⇒ Object
957 |
# File 'lib/box2d_types.rb', line 957 def bodyIdB=(v) self[:bodyIdB] = v end |
#collideConnected ⇒ Object
984 |
# File 'lib/box2d_types.rb', line 984 def collideConnected = self[:collideConnected] |
#collideConnected=(v) ⇒ Object
985 |
# File 'lib/box2d_types.rb', line 985 def collideConnected=(v) self[:collideConnected] = v end |
#dampingRatio ⇒ Object
970 |
# File 'lib/box2d_types.rb', line 970 def dampingRatio = self[:dampingRatio] |
#dampingRatio=(v) ⇒ Object
971 |
# File 'lib/box2d_types.rb', line 971 def dampingRatio=(v) self[:dampingRatio] = v end |
#enableLimit ⇒ Object
972 |
# File 'lib/box2d_types.rb', line 972 def enableLimit = self[:enableLimit] |
#enableLimit=(v) ⇒ Object
973 |
# File 'lib/box2d_types.rb', line 973 def enableLimit=(v) self[:enableLimit] = v end |
#enableMotor ⇒ Object
978 |
# File 'lib/box2d_types.rb', line 978 def enableMotor = self[:enableMotor] |
#enableMotor=(v) ⇒ Object
979 |
# File 'lib/box2d_types.rb', line 979 def enableMotor=(v) self[:enableMotor] = v end |
#enableSpring ⇒ Object
966 |
# File 'lib/box2d_types.rb', line 966 def enableSpring = self[:enableSpring] |
#enableSpring=(v) ⇒ Object
967 |
# File 'lib/box2d_types.rb', line 967 def enableSpring=(v) self[:enableSpring] = v end |
#hertz ⇒ Object
968 |
# File 'lib/box2d_types.rb', line 968 def hertz = self[:hertz] |
#hertz=(v) ⇒ Object
969 |
# File 'lib/box2d_types.rb', line 969 def hertz=(v) self[:hertz] = v end |
#internalValue ⇒ Object
988 |
# File 'lib/box2d_types.rb', line 988 def internalValue = self[:internalValue] |
#internalValue=(v) ⇒ Object
989 |
# File 'lib/box2d_types.rb', line 989 def internalValue=(v) self[:internalValue] = v end |
#localAnchorA ⇒ Object
958 |
# File 'lib/box2d_types.rb', line 958 def localAnchorA = self[:localAnchorA] |
#localAnchorA=(v) ⇒ Object
959 |
# File 'lib/box2d_types.rb', line 959 def localAnchorA=(v) self[:localAnchorA] = v end |
#localAnchorB ⇒ Object
960 |
# File 'lib/box2d_types.rb', line 960 def localAnchorB = self[:localAnchorB] |
#localAnchorB=(v) ⇒ Object
961 |
# File 'lib/box2d_types.rb', line 961 def localAnchorB=(v) self[:localAnchorB] = v end |
#localAxisA ⇒ Object
962 |
# File 'lib/box2d_types.rb', line 962 def localAxisA = self[:localAxisA] |
#localAxisA=(v) ⇒ Object
963 |
# File 'lib/box2d_types.rb', line 963 def localAxisA=(v) self[:localAxisA] = v end |
#lowerTranslation ⇒ Object
974 |
# File 'lib/box2d_types.rb', line 974 def lowerTranslation = self[:lowerTranslation] |
#lowerTranslation=(v) ⇒ Object
975 |
# File 'lib/box2d_types.rb', line 975 def lowerTranslation=(v) self[:lowerTranslation] = v end |
#maxMotorForce ⇒ Object
980 |
# File 'lib/box2d_types.rb', line 980 def maxMotorForce = self[:maxMotorForce] |
#maxMotorForce=(v) ⇒ Object
981 |
# File 'lib/box2d_types.rb', line 981 def maxMotorForce=(v) self[:maxMotorForce] = v end |
#motorSpeed ⇒ Object
982 |
# File 'lib/box2d_types.rb', line 982 def motorSpeed = self[:motorSpeed] |
#motorSpeed=(v) ⇒ Object
983 |
# File 'lib/box2d_types.rb', line 983 def motorSpeed=(v) self[:motorSpeed] = v end |
#referenceAngle ⇒ Object
964 |
# File 'lib/box2d_types.rb', line 964 def referenceAngle = self[:referenceAngle] |
#referenceAngle=(v) ⇒ Object
965 |
# File 'lib/box2d_types.rb', line 965 def referenceAngle=(v) self[:referenceAngle] = v end |
#upperTranslation ⇒ Object
976 |
# File 'lib/box2d_types.rb', line 976 def upperTranslation = self[:upperTranslation] |
#upperTranslation=(v) ⇒ Object
977 |
# File 'lib/box2d_types.rb', line 977 def upperTranslation=(v) self[:upperTranslation] = v end |
#userData ⇒ Object
986 |
# File 'lib/box2d_types.rb', line 986 def userData = self[:userData] |
#userData=(v) ⇒ Object
987 |
# File 'lib/box2d_types.rb', line 987 def userData=(v) self[:userData] = v end |