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
979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 |
# File 'lib/box2d_types.rb', line 979 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
943 |
# File 'lib/box2d_types.rb', line 943 def bodyIdA = self[:bodyIdA] |
#bodyIdA=(v) ⇒ Object
944 |
# File 'lib/box2d_types.rb', line 944 def bodyIdA=(v) self[:bodyIdA] = v end |
#bodyIdB ⇒ Object
945 |
# File 'lib/box2d_types.rb', line 945 def bodyIdB = self[:bodyIdB] |
#bodyIdB=(v) ⇒ Object
946 |
# File 'lib/box2d_types.rb', line 946 def bodyIdB=(v) self[:bodyIdB] = v end |
#collideConnected ⇒ Object
973 |
# File 'lib/box2d_types.rb', line 973 def collideConnected = self[:collideConnected] |
#collideConnected=(v) ⇒ Object
974 |
# File 'lib/box2d_types.rb', line 974 def collideConnected=(v) self[:collideConnected] = v end |
#dampingRatio ⇒ Object
959 |
# File 'lib/box2d_types.rb', line 959 def dampingRatio = self[:dampingRatio] |
#dampingRatio=(v) ⇒ Object
960 |
# File 'lib/box2d_types.rb', line 960 def dampingRatio=(v) self[:dampingRatio] = v end |
#enableLimit ⇒ Object
961 |
# File 'lib/box2d_types.rb', line 961 def enableLimit = self[:enableLimit] |
#enableLimit=(v) ⇒ Object
962 |
# File 'lib/box2d_types.rb', line 962 def enableLimit=(v) self[:enableLimit] = v end |
#enableMotor ⇒ Object
967 |
# File 'lib/box2d_types.rb', line 967 def enableMotor = self[:enableMotor] |
#enableMotor=(v) ⇒ Object
968 |
# File 'lib/box2d_types.rb', line 968 def enableMotor=(v) self[:enableMotor] = v end |
#enableSpring ⇒ Object
955 |
# File 'lib/box2d_types.rb', line 955 def enableSpring = self[:enableSpring] |
#enableSpring=(v) ⇒ Object
956 |
# File 'lib/box2d_types.rb', line 956 def enableSpring=(v) self[:enableSpring] = v end |
#hertz ⇒ Object
957 |
# File 'lib/box2d_types.rb', line 957 def hertz = self[:hertz] |
#hertz=(v) ⇒ Object
958 |
# File 'lib/box2d_types.rb', line 958 def hertz=(v) self[:hertz] = v end |
#internalValue ⇒ Object
977 |
# File 'lib/box2d_types.rb', line 977 def internalValue = self[:internalValue] |
#internalValue=(v) ⇒ Object
978 |
# File 'lib/box2d_types.rb', line 978 def internalValue=(v) self[:internalValue] = v end |
#localAnchorA ⇒ Object
947 |
# File 'lib/box2d_types.rb', line 947 def localAnchorA = self[:localAnchorA] |
#localAnchorA=(v) ⇒ Object
948 |
# File 'lib/box2d_types.rb', line 948 def localAnchorA=(v) self[:localAnchorA] = v end |
#localAnchorB ⇒ Object
949 |
# File 'lib/box2d_types.rb', line 949 def localAnchorB = self[:localAnchorB] |
#localAnchorB=(v) ⇒ Object
950 |
# File 'lib/box2d_types.rb', line 950 def localAnchorB=(v) self[:localAnchorB] = v end |
#localAxisA ⇒ Object
951 |
# File 'lib/box2d_types.rb', line 951 def localAxisA = self[:localAxisA] |
#localAxisA=(v) ⇒ Object
952 |
# File 'lib/box2d_types.rb', line 952 def localAxisA=(v) self[:localAxisA] = v end |
#lowerTranslation ⇒ Object
963 |
# File 'lib/box2d_types.rb', line 963 def lowerTranslation = self[:lowerTranslation] |
#lowerTranslation=(v) ⇒ Object
964 |
# File 'lib/box2d_types.rb', line 964 def lowerTranslation=(v) self[:lowerTranslation] = v end |
#maxMotorForce ⇒ Object
969 |
# File 'lib/box2d_types.rb', line 969 def maxMotorForce = self[:maxMotorForce] |
#maxMotorForce=(v) ⇒ Object
970 |
# File 'lib/box2d_types.rb', line 970 def maxMotorForce=(v) self[:maxMotorForce] = v end |
#motorSpeed ⇒ Object
971 |
# File 'lib/box2d_types.rb', line 971 def motorSpeed = self[:motorSpeed] |
#motorSpeed=(v) ⇒ Object
972 |
# File 'lib/box2d_types.rb', line 972 def motorSpeed=(v) self[:motorSpeed] = v end |
#referenceAngle ⇒ Object
953 |
# File 'lib/box2d_types.rb', line 953 def referenceAngle = self[:referenceAngle] |
#referenceAngle=(v) ⇒ Object
954 |
# File 'lib/box2d_types.rb', line 954 def referenceAngle=(v) self[:referenceAngle] = v end |
#upperTranslation ⇒ Object
965 |
# File 'lib/box2d_types.rb', line 965 def upperTranslation = self[:upperTranslation] |
#upperTranslation=(v) ⇒ Object
966 |
# File 'lib/box2d_types.rb', line 966 def upperTranslation=(v) self[:upperTranslation] = v end |
#userData ⇒ Object
975 |
# File 'lib/box2d_types.rb', line 975 def userData = self[:userData] |
#userData=(v) ⇒ Object
976 |
# File 'lib/box2d_types.rb', line 976 def userData=(v) self[:userData] = v end |