Share via


UIGravityBehavior.SetAngleAndMagnitude(NFloat, NFloat) Method

Definition

Sets both the angle and magnitude of the gravity vector of this UIGravityBehavior.

[Foundation.Export("setAngle:magnitude:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetAngleAndMagnitude(System.Runtime.InteropServices.NFloat angle, System.Runtime.InteropServices.NFloat magnitude);
[<Foundation.Export("setAngle:magnitude:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetAngleAndMagnitude : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> unit
override this.SetAngleAndMagnitude : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> unit

Parameters

angle
NFloat
magnitude
NFloat
Attributes

Applies to