SKNode.PhysicsBody Property
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.
Gets or sets the physics body, if any, that controls the node's position and rotation.
public virtual SpriteKit.SKPhysicsBody PhysicsBody { [Foundation.Export("physicsBody", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setPhysicsBody:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.PhysicsBody : SpriteKit.SKPhysicsBody with get, set
Property Value
(More documentation for this node is coming)
This value can be null
.
- Attributes