#[repr(u8)]pub enum RecOp {
Show 160 variants
DestroyWorld = 1,
Step = 128,
WorldEnableSleeping = 2,
WorldEnableContinuous = 3,
WorldSetRestitutionThreshold = 4,
WorldSetHitEventThreshold = 5,
WorldSetGravity = 6,
WorldExplode = 7,
WorldSetContactTuning = 8,
WorldSetContactRecycleDistance = 9,
WorldSetMaximumLinearSpeed = 10,
WorldEnableWarmStarting = 11,
WorldRebuildStaticTree = 12,
WorldEnableSpeculative = 13,
CreateBody = 16,
DestroyBody = 17,
BodySetTransform = 32,
BodySetLinearVelocity = 33,
BodySetType = 34,
BodySetName = 35,
BodySetAngularVelocity = 36,
BodySetTargetTransform = 37,
BodyApplyForce = 38,
BodyApplyForceToCenter = 39,
BodyApplyTorque = 40,
BodyApplyLinearImpulse = 41,
BodyApplyLinearImpulseToCenter = 42,
BodyApplyAngularImpulse = 43,
BodySetMassData = 44,
BodyApplyMassFromShapes = 45,
BodySetLinearDamping = 46,
BodySetAngularDamping = 47,
BodySetGravityScale = 48,
BodySetAwake = 49,
BodyEnableSleep = 50,
BodySetSleepThreshold = 51,
BodyDisable = 52,
BodyEnable = 53,
BodySetMotionLocks = 54,
BodySetBullet = 55,
BodyEnableContactRecycling = 56,
BodyEnableHitEvents = 57,
CreateSphereShape = 64,
CreateCapsuleShape = 65,
CreateHullShape = 66,
CreateMeshShape = 67,
CreateHeightFieldShape = 68,
CreateCompoundShape = 69,
DestroyShape = 70,
ShapeSetDensity = 80,
ShapeSetFriction = 81,
ShapeSetRestitution = 82,
ShapeSetSurfaceMaterial = 83,
ShapeSetFilter = 84,
ShapeEnableSensorEvents = 85,
ShapeEnableContactEvents = 86,
ShapeEnablePreSolveEvents = 87,
ShapeEnableHitEvents = 88,
ShapeSetSphere = 89,
ShapeSetCapsule = 90,
ShapeApplyWind = 91,
ShapeSetName = 92,
CreateParallelJoint = 144,
CreateDistanceJoint = 145,
CreateFilterJoint = 146,
CreateMotorJoint = 147,
CreatePrismaticJoint = 148,
CreateRevoluteJoint = 149,
CreateSphericalJoint = 150,
CreateWeldJoint = 151,
CreateWheelJoint = 152,
DestroyJoint = 153,
JointSetLocalFrameA = 154,
JointSetLocalFrameB = 155,
JointSetCollideConnected = 156,
JointWakeBodies = 157,
JointSetConstraintTuning = 158,
JointSetForceThreshold = 159,
JointSetTorqueThreshold = 160,
ParallelJointSetSpringHertz = 161,
ParallelJointSetSpringDampingRatio = 162,
ParallelJointSetMaxTorque = 163,
DistanceJointSetLength = 164,
DistanceJointEnableSpring = 165,
DistanceJointSetSpringForceRange = 166,
DistanceJointSetSpringHertz = 167,
DistanceJointSetSpringDampingRatio = 168,
DistanceJointEnableLimit = 169,
DistanceJointSetLengthRange = 170,
DistanceJointEnableMotor = 171,
DistanceJointSetMotorSpeed = 172,
DistanceJointSetMaxMotorForce = 173,
MotorJointSetLinearVelocity = 174,
MotorJointSetAngularVelocity = 175,
MotorJointSetMaxVelocityForce = 176,
MotorJointSetMaxVelocityTorque = 177,
MotorJointSetLinearHertz = 178,
MotorJointSetLinearDampingRatio = 179,
MotorJointSetAngularHertz = 180,
MotorJointSetAngularDampingRatio = 181,
MotorJointSetMaxSpringForce = 182,
MotorJointSetMaxSpringTorque = 183,
PrismaticJointEnableSpring = 184,
PrismaticJointSetSpringHertz = 185,
PrismaticJointSetSpringDampingRatio = 186,
PrismaticJointSetTargetTranslation = 187,
PrismaticJointEnableLimit = 188,
PrismaticJointSetLimits = 189,
PrismaticJointEnableMotor = 190,
PrismaticJointSetMotorSpeed = 191,
PrismaticJointSetMaxMotorForce = 192,
RevoluteJointEnableSpring = 193,
RevoluteJointSetSpringHertz = 194,
RevoluteJointSetSpringDampingRatio = 195,
RevoluteJointSetTargetAngle = 196,
RevoluteJointEnableLimit = 197,
RevoluteJointSetLimits = 198,
RevoluteJointEnableMotor = 199,
RevoluteJointSetMotorSpeed = 200,
RevoluteJointSetMaxMotorTorque = 201,
SphericalJointEnableConeLimit = 202,
SphericalJointSetConeLimit = 203,
SphericalJointEnableTwistLimit = 204,
SphericalJointSetTwistLimits = 205,
SphericalJointEnableSpring = 206,
SphericalJointSetSpringHertz = 207,
SphericalJointSetSpringDampingRatio = 208,
SphericalJointSetTargetRotation = 209,
SphericalJointEnableMotor = 210,
SphericalJointSetMotorVelocity = 211,
SphericalJointSetMaxMotorTorque = 212,
WeldJointSetLinearHertz = 213,
WeldJointSetLinearDampingRatio = 214,
WeldJointSetAngularHertz = 215,
WeldJointSetAngularDampingRatio = 216,
WheelJointEnableSuspension = 217,
WheelJointSetSuspensionHertz = 218,
WheelJointSetSuspensionDampingRatio = 219,
WheelJointEnableSuspensionLimit = 220,
WheelJointSetSuspensionLimits = 221,
WheelJointEnableSpinMotor = 222,
WheelJointSetSpinMotorSpeed = 223,
WheelJointSetMaxSpinTorque = 224,
WheelJointEnableSteering = 225,
WheelJointSetSteeringHertz = 226,
WheelJointSetSteeringDampingRatio = 227,
WheelJointSetMaxSteeringTorque = 228,
WheelJointEnableSteeringLimit = 229,
WheelJointSetSteeringLimits = 230,
WheelJointSetTargetSteeringAngle = 231,
QueryOverlapAABB = 232,
QueryOverlapShape = 233,
QueryCastRay = 234,
QueryCastShape = 235,
QueryCastRayClosest = 236,
QueryCastMover = 237,
QueryCollideMover = 238,
QueryTag = 239,
StateHash = 241,
RecordingBounds = 242,
}Expand description
Opcode constants from recording_ops.inl.
Variants§
DestroyWorld = 1
Step = 128
WorldEnableSleeping = 2
WorldEnableContinuous = 3
WorldSetRestitutionThreshold = 4
WorldSetHitEventThreshold = 5
WorldSetGravity = 6
WorldExplode = 7
WorldSetContactTuning = 8
WorldSetContactRecycleDistance = 9
WorldSetMaximumLinearSpeed = 10
WorldEnableWarmStarting = 11
WorldRebuildStaticTree = 12
WorldEnableSpeculative = 13
CreateBody = 16
DestroyBody = 17
BodySetTransform = 32
BodySetLinearVelocity = 33
BodySetType = 34
BodySetName = 35
BodySetAngularVelocity = 36
BodySetTargetTransform = 37
BodyApplyForce = 38
BodyApplyForceToCenter = 39
BodyApplyTorque = 40
BodyApplyLinearImpulse = 41
BodyApplyLinearImpulseToCenter = 42
BodyApplyAngularImpulse = 43
BodySetMassData = 44
BodyApplyMassFromShapes = 45
BodySetLinearDamping = 46
BodySetAngularDamping = 47
BodySetGravityScale = 48
BodySetAwake = 49
BodyEnableSleep = 50
BodySetSleepThreshold = 51
BodyDisable = 52
BodyEnable = 53
BodySetMotionLocks = 54
BodySetBullet = 55
BodyEnableContactRecycling = 56
BodyEnableHitEvents = 57
CreateSphereShape = 64
CreateCapsuleShape = 65
CreateHullShape = 66
CreateMeshShape = 67
CreateHeightFieldShape = 68
CreateCompoundShape = 69
DestroyShape = 70
ShapeSetDensity = 80
ShapeSetFriction = 81
ShapeSetRestitution = 82
ShapeSetSurfaceMaterial = 83
ShapeSetFilter = 84
ShapeEnableSensorEvents = 85
ShapeEnableContactEvents = 86
ShapeEnablePreSolveEvents = 87
ShapeEnableHitEvents = 88
ShapeSetSphere = 89
ShapeSetCapsule = 90
ShapeApplyWind = 91
ShapeSetName = 92
CreateParallelJoint = 144
CreateDistanceJoint = 145
CreateFilterJoint = 146
CreateMotorJoint = 147
CreatePrismaticJoint = 148
CreateRevoluteJoint = 149
CreateSphericalJoint = 150
CreateWeldJoint = 151
CreateWheelJoint = 152
DestroyJoint = 153
JointSetLocalFrameA = 154
JointSetLocalFrameB = 155
JointSetCollideConnected = 156
JointWakeBodies = 157
JointSetConstraintTuning = 158
JointSetForceThreshold = 159
JointSetTorqueThreshold = 160
ParallelJointSetSpringHertz = 161
ParallelJointSetSpringDampingRatio = 162
ParallelJointSetMaxTorque = 163
DistanceJointSetLength = 164
DistanceJointEnableSpring = 165
DistanceJointSetSpringForceRange = 166
DistanceJointSetSpringHertz = 167
DistanceJointSetSpringDampingRatio = 168
DistanceJointEnableLimit = 169
DistanceJointSetLengthRange = 170
DistanceJointEnableMotor = 171
DistanceJointSetMotorSpeed = 172
DistanceJointSetMaxMotorForce = 173
MotorJointSetLinearVelocity = 174
MotorJointSetAngularVelocity = 175
MotorJointSetMaxVelocityForce = 176
MotorJointSetMaxVelocityTorque = 177
MotorJointSetLinearHertz = 178
MotorJointSetLinearDampingRatio = 179
MotorJointSetAngularHertz = 180
MotorJointSetAngularDampingRatio = 181
MotorJointSetMaxSpringForce = 182
MotorJointSetMaxSpringTorque = 183
PrismaticJointEnableSpring = 184
PrismaticJointSetSpringHertz = 185
PrismaticJointSetSpringDampingRatio = 186
PrismaticJointSetTargetTranslation = 187
PrismaticJointEnableLimit = 188
PrismaticJointSetLimits = 189
PrismaticJointEnableMotor = 190
PrismaticJointSetMotorSpeed = 191
PrismaticJointSetMaxMotorForce = 192
RevoluteJointEnableSpring = 193
RevoluteJointSetSpringHertz = 194
RevoluteJointSetSpringDampingRatio = 195
RevoluteJointSetTargetAngle = 196
RevoluteJointEnableLimit = 197
RevoluteJointSetLimits = 198
RevoluteJointEnableMotor = 199
RevoluteJointSetMotorSpeed = 200
RevoluteJointSetMaxMotorTorque = 201
SphericalJointEnableConeLimit = 202
SphericalJointSetConeLimit = 203
SphericalJointEnableTwistLimit = 204
SphericalJointSetTwistLimits = 205
SphericalJointEnableSpring = 206
SphericalJointSetSpringHertz = 207
SphericalJointSetSpringDampingRatio = 208
SphericalJointSetTargetRotation = 209
SphericalJointEnableMotor = 210
SphericalJointSetMotorVelocity = 211
SphericalJointSetMaxMotorTorque = 212
WeldJointSetLinearHertz = 213
WeldJointSetLinearDampingRatio = 214
WeldJointSetAngularHertz = 215
WeldJointSetAngularDampingRatio = 216
WheelJointEnableSuspension = 217
WheelJointSetSuspensionHertz = 218
WheelJointSetSuspensionDampingRatio = 219
WheelJointEnableSuspensionLimit = 220
WheelJointSetSuspensionLimits = 221
WheelJointEnableSpinMotor = 222
WheelJointSetSpinMotorSpeed = 223
WheelJointSetMaxSpinTorque = 224
WheelJointEnableSteering = 225
WheelJointSetSteeringHertz = 226
WheelJointSetSteeringDampingRatio = 227
WheelJointSetMaxSteeringTorque = 228
WheelJointEnableSteeringLimit = 229
WheelJointSetSteeringLimits = 230
WheelJointSetTargetSteeringAngle = 231
QueryOverlapAABB = 232
QueryOverlapShape = 233
QueryCastRay = 234
QueryCastShape = 235
QueryCastRayClosest = 236
QueryCastMover = 237
QueryCollideMover = 238
QueryTag = 239
StateHash = 241
RecordingBounds = 242
Implementations§
Trait Implementations§
impl Copy for RecOp
impl Eq for RecOp
impl StructuralPartialEq for RecOp
Auto Trait Implementations§
impl Freeze for RecOp
impl RefUnwindSafe for RecOp
impl Send for RecOp
impl Sync for RecOp
impl Unpin for RecOp
impl UnsafeUnpin for RecOp
impl UnwindSafe for RecOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more