Upravit

Sdílet prostřednictvím


SKPhysicsBody.LinearDamping Property

Definition

Gets or sets a value between 0.0 and 1.0, with a default of 0.1, that determines how quickly that the linear motion of the physics body is damped.

public virtual nfloat LinearDamping { [Foundation.Export("linearDamping", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [Foundation.Export("setLinearDamping:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.LinearDamping : nfloat with get, set

Property Value

Attributes

Applies to