SKPhysicsBody.LinearDamping 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 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