A small data container that holds the results of a foot-plant cleanup pass. It stores required reports for Left and Right feet and a GroundHeight float (in centimeters).
#nullable enable annotations
using System;
using System.Collections.Generic;
using System.Numerics;
using HumanoidRetargeter.Core.Maths;
using SkeletonModel = HumanoidRetargeter.Core.Skeleton.Skeleton;
namespace HumanoidRetargeter.Core.Cleanup;
using Vector3 = System.Numerics.Vector3; // s&box compat: shadow engine's global-namespace Vector3 (see Code/HumanoidRetargeter/Assembly.cs)
/// <summary>Results of a <see cref="FootPlant.Apply"/> run.</summary>
public sealed class FootPlantReport
{
/// <summary>Left-foot results.</summary>
public required FootPlantFootReport Left { get; init; }
/// <summary>Right-foot results.</summary>
public required FootPlantFootReport Right { get; init; }
/// <summary>Estimated ground level (height along the up axis), centimeters.</summary>
public float GroundHeight { get; set; }
}