Edit

Share via


SKPhysicsBody.Density Property

Definition

Gets or sets the density, in kilograms/meter^2, of the physics body.

public virtual nfloat Density { [Foundation.Export("density")] get; [Foundation.Export("setDensity:")] set; }
member this.Density : nfloat with get, set

Property Value

Attributes

Applies to