csharp
public readonly record struct TrajectoryToleranceHow much error a decimation pass may introduce, per kind of curve.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Spelled out rather than written new(), for CurveCompressionSettings's reason: a positional record struct's parameterless constructor zeroes its fields instead of applying the parameter defaults, so new() and default both mean a tolerance of zero.
Fields and properties (4)
public float PositionIn metres, for the origin and offset polylines.
public float RotationIn radians.
public float SurfaceIn normalised surface units, where one is the whole of an axis.
public static TrajectoryTolerance DefaultA millimetre, half a degree, and a fifth of a percent of a surface.
Methods (1)
public TrajectoryTolerance(float Position = 0.001, float Rotation = 0.0087, float Surface = 0.002)How much error a decimation pass may introduce, per kind of curve.
Used by (2)
- GoalTrajectoryVixen.Animation
- TrajectoryTestsVixen.Animation.Tests