Modifier

Partager via


SCNPhysicsBody.Restitution Property

Definition

Gets or sets the fraction of kinetic energy that the physics body retains when it collides with an immovable and infinitely hard surface.

public virtual nfloat Restitution { [Foundation.Export("restitution")] get; [Foundation.Export("setRestitution:")] set; }
member this.Restitution : nfloat with get, set

Property Value

Attributes

Applies to