Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.83 KB

constantforceeffect_setparameterswithenvelope_64203659.md

File metadata and controls

47 lines (32 loc) · 1.83 KB
-api-id -api-type
M:Windows.Gaming.Input.ForceFeedback.ConstantForceEffect.SetParametersWithEnvelope(Windows.Foundation.Numerics.Vector3,System.Single,System.Single,System.Single,Windows.Foundation.TimeSpan,Windows.Foundation.TimeSpan,Windows.Foundation.TimeSpan,Windows.Foundation.TimeSpan,System.UInt32)
winrt method

Windows.Gaming.Input.ForceFeedback.ConstantForceEffect.SetParametersWithEnvelope

-description

Sets the parameters for the effect and sets an envelope for the effect.

-parameters

-param vector

A vector describing the direction and magnitude of the effect on each axis. Each individual axis has a range of -1.0 to 1.0 and is independent of the other axes. Specifying a negative value for an axis reverses the input values from the axis.

-param attackGain

Percentage by which to reduce the strength of the effect when it is ramping up.

-param sustainGain

Percentage by which to reduce the strength of the effect when it is sustaining.

-param releaseGain

Percentage by which to reduce the strength of the effect when it is ramping down.

-param startDelay

Time to delay the effect before starting.

-param attackDuration

Time to ramp up to the effect's full strength.

-param sustainDuration

Time to maintain the effect at full strength.

-param releaseDuration

Time to ramp down from full strength to zero.

-param repeatCount

The number of times to repeat the effect.

-remarks

-examples

-see-also