Dela via


BounceScalarNaturalMotionAnimation.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 = bounceScalarNaturalMotionAnimation.restitution;
bounceScalarNaturalMotionAnimation.restitution = single;
Public Property Restitution As Single

Property Value

Single

float

The amount that an object rebounds after collision.

Applies to