mirror of
https://github.com/aelurum/AssetStudio.git
synced 2026-11-14 11:18:47 -05:00
- [exp3.json] Fixed format of Blend values (there should be strings according to the official specification) - Fixed BlendType enum
21 lines
609 B
C#
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; }
|
|
}
|
|
}
|
|
}
|