InertiaExpansionBehavior2D.DesiredDeceleration 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 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.