Jaa


RampForceEffect.SetParameters(Vector3, Vector3, TimeSpan) Method

Definition

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

startVector
Vector3 Vector3

float3

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.

endVector
Vector3 Vector3

float3

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.

duration
TimeSpan TimeSpan

The duration of the effect.

Applies to