Property sampleFrequency
sampleFrequency
The number of sample points Unity uses to approximate curved paths. Larger values produce a better quality approximate at the cost of reduced performance due to the number of ray casts.
Declaration
public int sampleFrequency { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
A value of n will result in n - 1 line segments for ray cast. This property is not used when using StraightLine since the value would always be 2.