Share via


BounceVector3NaturalMotionAnimation.Restitution 属性

定义

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

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

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

属性值

Single

float

对象在碰撞后反弹的量。

适用于