Delen via


BounceVector2NaturalMotionAnimation.Restitution Property

Definition

Gets or sets the amount that an object rebounds after collision.

public:
 property float Restitution { float get(); void set(float value); };
float Restitution();

void Restitution(float value);
public float Restitution { get; set; }
var single = bounceVector2NaturalMotionAnimation.restitution;
bounceVector2NaturalMotionAnimation.restitution = single;
Public Property Restitution As Single

Property Value

Single

float

The amount that an object rebounds after collision.

Applies to