BounceVector2NaturalMotionAnimation.Restitution Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 = bounceVector2NaturalMotionAnimation.restitution;
bounceVector2NaturalMotionAnimation.restitution = single;
Public Property Restitution As Single
Property Value
Single
float
The amount that an object rebounds after collision.