Bagikan melalui


BounceVector2NaturalMotionAnimation.Restitution Properti

Definisi

Mendapatkan atau mengatur jumlah objek yang rebound setelah tabrakan.

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

Nilai Properti

Single

float

Jumlah objek yang rebound setelah tabrakan.

Berlaku untuk