文档

Unity Engine

Unity Engine

VectorUtils.TessellationOptions

Structure to store the tessellation options.
阅读时间1 分钟最后更新于 1 个月前

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.