Vixen
02b45cc4
csharp
public readonly record struct ProposalSettings

How close counts, and how long counts.

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.

Fields and properties (4)

  • public float Distance

    How near a surface a point has to be, in metres.

  • public float MinimumSpan

    How much of the clip it has to stay there for, as a fraction. Below this it is a hand passing by, not a hand resting.

  • public float Slack

    How far it may drift while still counting as one contact, in metres — the difference between a hand resting and a hand sliding, and a slide should be one proposal rather than forty.

  • public static ProposalSettings Default

    Two centimetres, held for eight per cent of the clip, drifting under five.

Methods (1)

  • public ProposalSettings(float Distance = 0.02, float MinimumSpan = 0.08, float Slack = 0.05)

    How close counts, and how long counts.

Used by (5)

  • AuthoringTestsVixen.Animation.Tests
  • ConstraintProposalsVixen.Animation
  • AnimationBinderVixen.Editor.AssetEditors
  • AuthoringContextTestsVixen.Editor.AssetEditors.Tests
  • ProposalInputsVixen.Editor.AssetEditors