HumanoidRetargeter/Core/Target/KvBool.cs

A simple KV3 boolean value node class. Defines an immutable KvBool that inherits KvValue and exposes a single bool Value property set via constructor.

#nullable enable annotations

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;

namespace HumanoidRetargeter.Core.Target;

/// <summary>A KV3 boolean.</summary>
public sealed class KvBool : KvValue
{
    /// <summary>The boolean value.</summary>
    public bool Value { get; }

    /// <summary>Creates a boolean value.</summary>
    public KvBool(bool value) => Value = value;
}