Share via


SKPhysicsBody.ApplyTorque(NFloat) Method

Definition

Applies a torque, in Newton-meters, to the physics body for one time step.

[Foundation.Export("applyTorque:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ApplyTorque(System.Runtime.InteropServices.NFloat torque);
[<Foundation.Export("applyTorque:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ApplyTorque : System.Runtime.InteropServices.NFloat -> unit
override this.ApplyTorque : System.Runtime.InteropServices.NFloat -> unit

Parameters

torque
NFloat
Attributes

Applies to