Files
AssetStudio/AssetStudioUtility/CubismLive2DExtractor/CubismExpression3Json.cs
T
VaDiM 7b7907f2eb Migrate to System.Text.Json in Live2D exporter
- [exp3.json] Fixed format of Blend values (there should be strings according to the official specification)
- Fixed BlendType enum
2026-06-19 21:11:55 +03:00

21 lines
609 B
C#

using System.Text.Json.Serialization;
namespace CubismLive2DExtractor
{
public class CubismExpression3Json
{
public string Type { get; set; }
public float FadeInTime { get; set; }
public float FadeOutTime { get; set; }
public SerializableExpressionParameter[] Parameters { get; set; }
public class SerializableExpressionParameter
{
public string Id { get; set; }
public float Value { get; set; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public BlendType Blend { get; set; }
}
}
}