mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
42 lines
1021 B
C#
42 lines
1021 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace CubismLive2DExtractor
|
|
{
|
|
public class CubismMotion3Json
|
|
{
|
|
public int Version;
|
|
public SerializableMeta Meta;
|
|
public SerializableCurve[] Curves;
|
|
public SerializableUserData[] UserData;
|
|
|
|
public class SerializableMeta
|
|
{
|
|
public float Duration;
|
|
public float Fps;
|
|
public bool Loop;
|
|
public bool AreBeziersRestricted;
|
|
public int CurveCount;
|
|
public int TotalSegmentCount;
|
|
public int TotalPointCount;
|
|
public int UserDataCount;
|
|
public int TotalUserDataSize;
|
|
};
|
|
|
|
public class SerializableCurve
|
|
{
|
|
public string Target;
|
|
public string Id;
|
|
public List<float> Segments;
|
|
};
|
|
|
|
public class SerializableUserData
|
|
{
|
|
public float Time;
|
|
public string Value;
|
|
}
|
|
}
|
|
}
|