SpriteKit.SKPhysicsWorld: Method Members

The methods of SpriteKit.SKPhysicsWorld are listed below. For a list of all members, see the SKPhysicsWorld Members list.

See Also: Inherited members from Foundation.NSObject

Public Methods

AddJoint(SKPhysicsJoint)
Adds a SpriteKit.SKJoint to the physics simulation.
EncodeTo(Foundation.NSCoder)
Encodes the state of the object on the provided encoder
EnumerateBodies(SKPhysicsWorldBodiesEnumeratorHandler, CoreGraphics.CGPoint)
Enumerates every SpriteKit.SKPhysicsBody that contains a point.
EnumerateBodies(SKPhysicsWorldBodiesEnumeratorHandler, CoreGraphics.CGRect)
Enumerates every SpriteKit.SKPhysicsBody whose area intersects a rectangle.
EnumerateBodies(SKPhysicsWorldBodiesAlongRayStartEnumeratorHandler, CoreGraphics.CGPoint, CoreGraphics.CGPoint)
Enumerates every SpriteKit.SKPhysicsBody that intersects a ray defined by two points.
GetBody(CoreGraphics.CGPoint) : SKPhysicsBody
Returns the first SpriteKit.SKPhysicsBody found that contains a point.
GetBody(CoreGraphics.CGRect) : SKPhysicsBody
Returns the first SpriteKit.SKPhysicsBody whose shape intersects a rectangle.
GetBody(CoreGraphics.CGPoint, CoreGraphics.CGPoint) : SKPhysicsBody
Returns the first SpriteKit.SKPhysicsBody that intersects a ray defined by two points.
RemoveAllJoints()
Removes all SpriteKit.SKPhysicsJoints.
RemoveJoint(SKPhysicsJoint)
Removes the specified SpriteKit.SKPhysicsJoint.
SampleFields(OpenTK.Vector3) : OpenTK.Vector3
Documentation for this section has not yet been entered.

Protected Methods

override
Dispose(bool)
Releases the resources used by the SKPhysicsWorld object.