Vixen
02b45cc4
csharp
public readonly record struct TrajectoryTolerance

How 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 Position

    In metres, for the origin and offset polylines.

  • public float Rotation

    In radians.

  • public float Surface

    In normalised surface units, where one is the whole of an axis.

  • public static TrajectoryTolerance Default

    A 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