Class: Raylib::PhysicsBodyData
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Raylib::PhysicsBodyData
- Defined in:
- lib/physac.rb
Instance Method Summary collapse
- #angularVelocity ⇒ Object
- #angularVelocity=(v) ⇒ Object
- #dynamicFriction ⇒ Object
- #dynamicFriction=(v) ⇒ Object
- #enabled ⇒ Object
- #enabled=(v) ⇒ Object
- #force ⇒ Object
- #force=(v) ⇒ Object
- #freezeOrient ⇒ Object
- #freezeOrient=(v) ⇒ Object
- #id ⇒ Object
- #id=(v) ⇒ Object
- #inertia ⇒ Object
- #inertia=(v) ⇒ Object
- #inverseInertia ⇒ Object
- #inverseInertia=(v) ⇒ Object
- #inverseMass ⇒ Object
- #inverseMass=(v) ⇒ Object
- #isGrounded ⇒ Object
- #isGrounded=(v) ⇒ Object
- #mass ⇒ Object
- #mass=(v) ⇒ Object
- #orient ⇒ Object
- #orient=(v) ⇒ Object
- #position ⇒ Object
- #position=(v) ⇒ Object
- #restitution ⇒ Object
- #restitution=(v) ⇒ Object
- #shape ⇒ Object
- #shape=(v) ⇒ Object
- #staticFriction ⇒ Object
- #staticFriction=(v) ⇒ Object
- #torque ⇒ Object
- #torque=(v) ⇒ Object
- #useGravity ⇒ Object
- #useGravity=(v) ⇒ Object
- #velocity ⇒ Object
- #velocity=(v) ⇒ Object
Instance Method Details
#angularVelocity ⇒ Object
121 |
# File 'lib/physac.rb', line 121 def angularVelocity = self[:angularVelocity] |
#angularVelocity=(v) ⇒ Object
122 |
# File 'lib/physac.rb', line 122 def angularVelocity=(v) self[:angularVelocity] = v end |
#dynamicFriction ⇒ Object
137 |
# File 'lib/physac.rb', line 137 def dynamicFriction = self[:dynamicFriction] |
#dynamicFriction=(v) ⇒ Object
138 |
# File 'lib/physac.rb', line 138 def dynamicFriction=(v) self[:dynamicFriction] = v end |
#enabled ⇒ Object
113 |
# File 'lib/physac.rb', line 113 def enabled = self[:enabled] |
#enabled=(v) ⇒ Object
114 |
# File 'lib/physac.rb', line 114 def enabled=(v) self[:enabled] = v end |
#force ⇒ Object
119 |
# File 'lib/physac.rb', line 119 def force = self[:force] |
#force=(v) ⇒ Object
120 |
# File 'lib/physac.rb', line 120 def force=(v) self[:force] = v end |
#freezeOrient ⇒ Object
145 |
# File 'lib/physac.rb', line 145 def freezeOrient = self[:freezeOrient] |
#freezeOrient=(v) ⇒ Object
146 |
# File 'lib/physac.rb', line 146 def freezeOrient=(v) self[:freezeOrient] = v end |
#id ⇒ Object
111 |
# File 'lib/physac.rb', line 111 def id = self[:id] |
#id=(v) ⇒ Object
112 |
# File 'lib/physac.rb', line 112 def id=(v) self[:id] = v end |
#inertia ⇒ Object
127 |
# File 'lib/physac.rb', line 127 def inertia = self[:inertia] |
#inertia=(v) ⇒ Object
128 |
# File 'lib/physac.rb', line 128 def inertia=(v) self[:inertia] = v end |
#inverseInertia ⇒ Object
129 |
# File 'lib/physac.rb', line 129 def inverseInertia = self[:inverseInertia] |
#inverseInertia=(v) ⇒ Object
130 |
# File 'lib/physac.rb', line 130 def inverseInertia=(v) self[:inverseInertia] = v end |
#inverseMass ⇒ Object
133 |
# File 'lib/physac.rb', line 133 def inverseMass = self[:inverseMass] |
#inverseMass=(v) ⇒ Object
134 |
# File 'lib/physac.rb', line 134 def inverseMass=(v) self[:inverseMass] = v end |
#isGrounded ⇒ Object
143 |
# File 'lib/physac.rb', line 143 def isGrounded = self[:isGrounded] |
#isGrounded=(v) ⇒ Object
144 |
# File 'lib/physac.rb', line 144 def isGrounded=(v) self[:isGrounded] = v end |
#mass ⇒ Object
131 |
# File 'lib/physac.rb', line 131 def mass = self[:mass] |
#mass=(v) ⇒ Object
132 |
# File 'lib/physac.rb', line 132 def mass=(v) self[:mass] = v end |
#orient ⇒ Object
125 |
# File 'lib/physac.rb', line 125 def orient = self[:orient] |
#orient=(v) ⇒ Object
126 |
# File 'lib/physac.rb', line 126 def orient=(v) self[:orient] = v end |
#position ⇒ Object
115 |
# File 'lib/physac.rb', line 115 def position = self[:position] |
#position=(v) ⇒ Object
116 |
# File 'lib/physac.rb', line 116 def position=(v) self[:position] = v end |
#restitution ⇒ Object
139 |
# File 'lib/physac.rb', line 139 def restitution = self[:restitution] |
#restitution=(v) ⇒ Object
140 |
# File 'lib/physac.rb', line 140 def restitution=(v) self[:restitution] = v end |
#shape ⇒ Object
147 |
# File 'lib/physac.rb', line 147 def shape = self[:shape] |
#shape=(v) ⇒ Object
148 |
# File 'lib/physac.rb', line 148 def shape=(v) self[:shape] = v end |
#staticFriction ⇒ Object
135 |
# File 'lib/physac.rb', line 135 def staticFriction = self[:staticFriction] |
#staticFriction=(v) ⇒ Object
136 |
# File 'lib/physac.rb', line 136 def staticFriction=(v) self[:staticFriction] = v end |
#torque ⇒ Object
123 |
# File 'lib/physac.rb', line 123 def torque = self[:torque] |
#torque=(v) ⇒ Object
124 |
# File 'lib/physac.rb', line 124 def torque=(v) self[:torque] = v end |
#useGravity ⇒ Object
141 |
# File 'lib/physac.rb', line 141 def useGravity = self[:useGravity] |
#useGravity=(v) ⇒ Object
142 |
# File 'lib/physac.rb', line 142 def useGravity=(v) self[:useGravity] = v end |
#velocity ⇒ Object
117 |
# File 'lib/physac.rb', line 117 def velocity = self[:velocity] |
#velocity=(v) ⇒ Object
118 |
# File 'lib/physac.rb', line 118 def velocity=(v) self[:velocity] = v end |