ConstantForceEffect.SetParameters(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 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
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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for