BounceScalarNaturalMotionAnimation.Restitution 属性

定义

获取或设置对象在冲突后反弹的量。

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

属性值

Single

float

对象在碰撞后反弹的量。

适用于