SpriteKit.SKPhysicsWorld.GetBody Method
Returns the first SpriteKit.SKPhysicsBody that intersects a ray defined by two points.

Syntax

[Foundation.Export("bodyAlongRayStart:end:")]
public virtual SKPhysicsBody GetBody (CoreGraphics.CGPoint rayStart, CoreGraphics.CGPoint rayEnd)

See Also

SKPhysicsWorld.EnumerateBodies(System.Drawing.PointF, System.Drawing.PointF, SKPhysicsWorldBodiesEnumeratorHandler)

Parameters

rayStart
Documentation for this section has not yet been entered.
rayEnd
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Note that this method returns bodies along a ray, which starts at start but extends infinitely past end.

Requirements

Namespace: SpriteKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0