SpriteKit.SKPhysicsWorld Members

The members of SpriteKit.SKPhysicsWorld are listed below.

See Also: Inherited members from Foundation.NSObject

Public Constructors

A constructor that initializes the object from the data stored in the unarchiver object.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
ContactDelegateISKPhysicsContactDelegate. A delegate object that can handle events relating to collisions between the physics bodies in the simulation.
GravityCoreGraphics.CGVector. A vector representing gravitational acceleration.
Speednfloat. The rate at which the physics simulation runs.
WeakContactDelegateFoundation.NSObject. Documentation for this section has not yet been entered.

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.

Public Events

DidBeginContactEvent raised by the object.
DidEndContactEvent raised by the object.