Class: Box2D::WheelJointDef
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Box2D::WheelJointDef
- 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
- #maxMotorTorque ⇒ Object
- #maxMotorTorque=(v) ⇒ Object
- #motorSpeed ⇒ Object
- #motorSpeed=(v) ⇒ Object
- #upperTranslation ⇒ Object
- #upperTranslation=(v) ⇒ Object
- #userData ⇒ Object
- #userData=(v) ⇒ Object
Class Method Details
.create_as(_bodyIdA_, _bodyIdB_, _localAnchorA_, _localAnchorB_, _localAxisA_, _enableSpring_, _hertz_, _dampingRatio_, _enableLimit_, _lowerTranslation_, _upperTranslation_, _enableMotor_, _maxMotorTorque_, _motorSpeed_, _collideConnected_, _userData_, _internalValue_) ⇒ Object
1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 |
# File 'lib/box2d_types.rb', line 1173 def self.create_as(_bodyIdA_, _bodyIdB_, _localAnchorA_, _localAnchorB_, _localAxisA_, _enableSpring_, _hertz_, _dampingRatio_, _enableLimit_, _lowerTranslation_, _upperTranslation_, _enableMotor_, _maxMotorTorque_, _motorSpeed_, _collideConnected_, _userData_, _internalValue_) instance = WheelJointDef.new instance[:bodyIdA] = _bodyIdA_ instance[:bodyIdB] = _bodyIdB_ instance[:localAnchorA] = _localAnchorA_ instance[:localAnchorB] = _localAnchorB_ instance[:localAxisA] = _localAxisA_ instance[:enableSpring] = _enableSpring_ instance[:hertz] = _hertz_ instance[:dampingRatio] = _dampingRatio_ instance[:enableLimit] = _enableLimit_ instance[:lowerTranslation] = _lowerTranslation_ instance[:upperTranslation] = _upperTranslation_ instance[:enableMotor] = _enableMotor_ instance[:maxMotorTorque] = _maxMotorTorque_ instance[:motorSpeed] = _motorSpeed_ instance[:collideConnected] = _collideConnected_ instance[:userData] = _userData_ instance[:internalValue] = _internalValue_ instance end |
Instance Method Details
#bodyIdA ⇒ Object
1139 |
# File 'lib/box2d_types.rb', line 1139 def bodyIdA = self[:bodyIdA] |
#bodyIdA=(v) ⇒ Object
1140 |
# File 'lib/box2d_types.rb', line 1140 def bodyIdA=(v) self[:bodyIdA] = v end |
#bodyIdB ⇒ Object
1141 |
# File 'lib/box2d_types.rb', line 1141 def bodyIdB = self[:bodyIdB] |
#bodyIdB=(v) ⇒ Object
1142 |
# File 'lib/box2d_types.rb', line 1142 def bodyIdB=(v) self[:bodyIdB] = v end |
#collideConnected ⇒ Object
1167 |
# File 'lib/box2d_types.rb', line 1167 def collideConnected = self[:collideConnected] |
#collideConnected=(v) ⇒ Object
1168 |
# File 'lib/box2d_types.rb', line 1168 def collideConnected=(v) self[:collideConnected] = v end |
#dampingRatio ⇒ Object
1153 |
# File 'lib/box2d_types.rb', line 1153 def dampingRatio = self[:dampingRatio] |
#dampingRatio=(v) ⇒ Object
1154 |
# File 'lib/box2d_types.rb', line 1154 def dampingRatio=(v) self[:dampingRatio] = v end |
#enableLimit ⇒ Object
1155 |
# File 'lib/box2d_types.rb', line 1155 def enableLimit = self[:enableLimit] |
#enableLimit=(v) ⇒ Object
1156 |
# File 'lib/box2d_types.rb', line 1156 def enableLimit=(v) self[:enableLimit] = v end |
#enableMotor ⇒ Object
1161 |
# File 'lib/box2d_types.rb', line 1161 def enableMotor = self[:enableMotor] |
#enableMotor=(v) ⇒ Object
1162 |
# File 'lib/box2d_types.rb', line 1162 def enableMotor=(v) self[:enableMotor] = v end |
#enableSpring ⇒ Object
1149 |
# File 'lib/box2d_types.rb', line 1149 def enableSpring = self[:enableSpring] |
#enableSpring=(v) ⇒ Object
1150 |
# File 'lib/box2d_types.rb', line 1150 def enableSpring=(v) self[:enableSpring] = v end |
#hertz ⇒ Object
1151 |
# File 'lib/box2d_types.rb', line 1151 def hertz = self[:hertz] |
#hertz=(v) ⇒ Object
1152 |
# File 'lib/box2d_types.rb', line 1152 def hertz=(v) self[:hertz] = v end |
#internalValue ⇒ Object
1171 |
# File 'lib/box2d_types.rb', line 1171 def internalValue = self[:internalValue] |
#internalValue=(v) ⇒ Object
1172 |
# File 'lib/box2d_types.rb', line 1172 def internalValue=(v) self[:internalValue] = v end |
#localAnchorA ⇒ Object
1143 |
# File 'lib/box2d_types.rb', line 1143 def localAnchorA = self[:localAnchorA] |
#localAnchorA=(v) ⇒ Object
1144 |
# File 'lib/box2d_types.rb', line 1144 def localAnchorA=(v) self[:localAnchorA] = v end |
#localAnchorB ⇒ Object
1145 |
# File 'lib/box2d_types.rb', line 1145 def localAnchorB = self[:localAnchorB] |
#localAnchorB=(v) ⇒ Object
1146 |
# File 'lib/box2d_types.rb', line 1146 def localAnchorB=(v) self[:localAnchorB] = v end |
#localAxisA ⇒ Object
1147 |
# File 'lib/box2d_types.rb', line 1147 def localAxisA = self[:localAxisA] |
#localAxisA=(v) ⇒ Object
1148 |
# File 'lib/box2d_types.rb', line 1148 def localAxisA=(v) self[:localAxisA] = v end |
#lowerTranslation ⇒ Object
1157 |
# File 'lib/box2d_types.rb', line 1157 def lowerTranslation = self[:lowerTranslation] |
#lowerTranslation=(v) ⇒ Object
1158 |
# File 'lib/box2d_types.rb', line 1158 def lowerTranslation=(v) self[:lowerTranslation] = v end |
#maxMotorTorque ⇒ Object
1163 |
# File 'lib/box2d_types.rb', line 1163 def maxMotorTorque = self[:maxMotorTorque] |
#maxMotorTorque=(v) ⇒ Object
1164 |
# File 'lib/box2d_types.rb', line 1164 def maxMotorTorque=(v) self[:maxMotorTorque] = v end |
#motorSpeed ⇒ Object
1165 |
# File 'lib/box2d_types.rb', line 1165 def motorSpeed = self[:motorSpeed] |
#motorSpeed=(v) ⇒ Object
1166 |
# File 'lib/box2d_types.rb', line 1166 def motorSpeed=(v) self[:motorSpeed] = v end |
#upperTranslation ⇒ Object
1159 |
# File 'lib/box2d_types.rb', line 1159 def upperTranslation = self[:upperTranslation] |
#upperTranslation=(v) ⇒ Object
1160 |
# File 'lib/box2d_types.rb', line 1160 def upperTranslation=(v) self[:upperTranslation] = v end |
#userData ⇒ Object
1169 |
# File 'lib/box2d_types.rb', line 1169 def userData = self[:userData] |
#userData=(v) ⇒ Object
1170 |
# File 'lib/box2d_types.rb', line 1170 def userData=(v) self[:userData] = v end |