Skip to main content

RecOp

Enum RecOp 

Source
#[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§

Source§

impl RecOp

Source

pub fn from_u8(v: u8) -> Option<Self>

Trait Implementations§

Source§

impl Clone for RecOp

Source§

fn clone(&self) -> RecOp

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for RecOp

Source§

impl Debug for RecOp

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for RecOp

Source§

impl PartialEq for RecOp

Source§

fn eq(&self, other: &RecOp) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.