Field SearchIteration
The nearest point is calculated by finding the nearest point on the entire length of the spline using SearchResolution to divide into equally spaced line segments. Successive iterations will then subdivide further the nearest segment, producing more accurate results. In most cases, the default value is sufficient. For more information, see SplineUtility.GetNearestPoint.
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[Tooltip("The nearest point is calculated by finding the nearest point on the entire length of the spline using SearchResolution to divide into equally spaced line segments. Successive iterations will then subdivide further the nearest segment, producing more accurate results. In most cases, the default value (2) is sufficient.")]
public int SearchIteration
Returns
Type | Description |
---|---|
int |