Vixen
02b45cc4
csharp
public sealed class PropVariation

A prop across a class of interchangeable ones: same slot, different dimensions.

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

Remarks

A rail of two radii, a mug of three sizes, a ledge at four heights. The prop is expressed as the transform an EntityFrame slot resolves to, because that is how a goal reaches it — a harness that modelled props any other way would be testing something the runtime does not do.

Fields and properties (2)

  • public string Name

    What it varies.

  • public int Count

    How many values it takes.

Methods (3)

  • public PropVariation(string slot, params ReadOnlySpan<(string Name, BoneTransform Where)> props)

    Varies what a slot resolves to.

  • 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 (1)

  • HarnessPlanContentVixen.Animation