Bewerken

Delen via


InertiaExpansionBehavior2D.DesiredDeceleration Property

Definition

Gets or sets the desired expansion deceleration, in coordinate units per millisecond squared.

public:
 property float DesiredDeceleration { float get(); void set(float value); };
public float DesiredDeceleration { get; set; }
member this.DesiredDeceleration : single with get, set
Public Property DesiredDeceleration As Single

Property Value

The desired expansion deceleration, in coordinate units per millisecond squared.

Remarks

This property value is mutually exclusive with the DesiredExpansionX and DesiredExpansionY properties; setting this property will set DesiredExpansionX and DesiredExpansionY to NaN.

The default value for this property is NaN.

This property cannot be set while the inertia processor is running; otherwise, an exception is thrown.

Applies to