共用方式為


BounceVector2NaturalMotionAnimation.Restitution 屬性

定義

取得或設定物件在衝突之後重新系結的數量。

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

屬性值

Single

float

物件在衝突後重新系結的數量。

適用於