ConstantForceEffect.SetParameters(Vector3, TimeSpan) Method

Definition

Sets the parameters for the constant force feedback effect.

public:
 virtual void SetParameters(float3 vector, TimeSpan duration) = SetParameters;
void SetParameters(float3 const& vector, TimeSpan const& duration);
public void SetParameters(Vector3 vector, System.TimeSpan duration);
function setParameters(vector, duration)
Public Sub SetParameters (vector As Vector3, duration As TimeSpan)

Parameters

vector
Vector3 Vector3

float3

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.

duration
TimeSpan TimeSpan

The duration of the effect.

Applies to