SpriteKit.SKPhysicsWorld.EnumerateBodies Method
Enumerates every SpriteKit.SKPhysicsBody that intersects a ray defined by two points.

Syntax

[Foundation.Export("enumerateBodiesAlongRayStart:end:usingBlock:")]
public virtual void EnumerateBodies ([ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDSKPhysicsWorldBodiesAlongRayStartEnumeratorHandler))] SKPhysicsWorldBodiesAlongRayStartEnumeratorHandler enumeratorHandler, CoreGraphics.CGPoint start, CoreGraphics.CGPoint end)

Parameters

start
Documentation for this section has not yet been entered.
end
Documentation for this section has not yet been entered.
enumeratorHandler
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.

Note that because SpriteKit.SKPhysicsWorldBodiesEnumeratorHandler has an out parameter, application developers cannot use lambda expressions to specify the enumerationHandler.

Requirements

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