Düzenle

Aracılığıyla paylaş


SKPhysicsBody.Friction Property

Definition

Gets or sets a value between 0.0 and 1.0, with a default of 0.2, that describes the surface roughness of the physics body.

public virtual nfloat Friction { [Foundation.Export("friction")] get; [Foundation.Export("setFriction:")] set; }
member this.Friction : nfloat with get, set

Property Value

Attributes

Applies to