Edytuj

Udostępnij za pośrednictwem


SKNode.PhysicsBody Property

Definition

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

Applies to