Vixen
02b45cc4
csharp
public sealed class GroundVariation

Ground slope and height, which is what breaks a foot plant.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ Slope and height together rather than two axes. They are not independent in practice — a character on a slope is also standing higher or lower than the clip assumed — and treating them as two axes would spend most of the matrix on combinations nobody stands in.

Fields and properties (3)

  • public const string Slot

    The slot the ground plane is bound to.

  • public string Name

    What it varies.

  • public int Count

    How many values it takes.

Methods (3)

  • public GroundVariation(params ReadOnlySpan<(float Degrees, float Height)> steps)

    Varies the ground under the character.

  • public string Label(int index)

    What one of them is called.

  • public void Apply(int index, HarnessSubject subject)

    Sets a subject up for one of them.

Used by (2)

  • HarnessPlanContentVixen.Animation
  • HarnessTestsVixen.Animation.Tests