SKPhysicsBody.ApplyForce Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ApplyForce(CGVector) | |
| ApplyForce(CGVector, CGPoint) |
ApplyForce(CGVector)
[Foundation.Export("applyForce:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ApplyForce(CoreGraphics.CGVector force);
[<Foundation.Export("applyForce:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ApplyForce : CoreGraphics.CGVector -> unit
override this.ApplyForce : CoreGraphics.CGVector -> unit
Parameters
- force
- CGVector
- Attributes
Applies to
ApplyForce(CGVector, CGPoint)
[Foundation.Export("applyForce:atPoint:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ApplyForce(CoreGraphics.CGVector force, CoreGraphics.CGPoint point);
[<Foundation.Export("applyForce:atPoint:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ApplyForce : CoreGraphics.CGVector * CoreGraphics.CGPoint -> unit
override this.ApplyForce : CoreGraphics.CGVector * CoreGraphics.CGPoint -> unit
Parameters
- force
- CGVector
- point
- CGPoint
- Attributes