magnitude
The magnitude of the force vector for the push behavior.
Declaration
var magnitude: CGFloat { get set }Discussion
The default magnitude is 0.0, equivalent to no force. A continuous force vector with a magnitude of 1.0, applied to a 100 point x 100 point view whose density value is 1.0, results in view acceleration of 100 points / second² in the direction indicated by the angle or pushDirection property.
Setting the magnitude parameter to a negative value reverses the direction of the force.