Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


VectorUtils.TessellationOptions

Structure to store the tessellation options.
Read time 1 minuteLast updated 7 days ago

Definition

public struct VectorUtils.TessellationOptions

Properties

Property

Description

MaxCordDeviationThe maximum distance on the cord to a straight line between to points after which more tessellation will be generated. To disable, specify float.MaxValue.
MaxTanAngleDeviationThe maximum angle (in degrees) between the curve tangent and the next point after which more tessellation will be generated. To disable, specify float.MaxValue.
SamplingStepSizeThe number of samples used internally to evaluate the curves. More samples = higher quality. Should be between 0 and 1 (inclusive).
StepDistanceThe uniform tessellation step distance.