RampForceEffect.SetParameters(Vector3, Vector3, TimeSpan) Method
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.
Sets the parameters for the ramp force feedback effect.
public:
virtual void SetParameters(float3 startVector, float3 endVector, TimeSpan duration) = SetParameters;
void SetParameters(float3 const& startVector, float3 const& endVector, TimeSpan const& duration);
public void SetParameters(Vector3 startVector, Vector3 endVector, System.TimeSpan duration);
function setParameters(startVector, endVector, duration)
Public Sub SetParameters (startVector As Vector3, endVector As Vector3, duration As TimeSpan)
Parameters
A vector describing the direction and magnitude of the effect on each axis when the effect is starting. 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.
A vector describing the direction and magnitude of the effect on each axis when the effect is ending. 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.