OSDN Git Service

Appendable対応
[mikutoga/TogaGem.git] / src / main / java / jp / sfjp / mikutoga / vmd / VmdConst.java
1 /*
2  * VMD constant data
3  *
4  * License : The MIT License
5  * Copyright(c) 2011 MikuToga Partners
6  */
7
8 package jp.sfjp.mikutoga.vmd;
9
10 /**
11  * VMDファイルフォーマットの各種定数。
12  */
13 public final class VmdConst {
14
15     /**
16      * VMDファイルヘッダ長。バイト単位。
17      */
18     public static final int HEADER_LENGTH = 30;
19
20     /**
21      * ファイルヘッダ部先頭のASCIIコード相当部。
22      */
23     public static final String MAGIC_TXT = "Vocaloid Motion Data 0002";
24
25     /**
26      * モデル名最大長。バイト単位。
27      */
28     public static final int MODELNAME_MAX = 20;
29
30     /**
31      * ボーン名最大長。バイト単位。
32      */
33     public static final int BONENAME_MAX = 15;
34
35     /**
36      * モーフ名最大長。バイト単位。
37      */
38     public static final int MORPHNAME_MAX = 15;
39
40
41     /**
42      * 隠しコンストラクタ。
43      */
44     private VmdConst(){
45         super();
46         assert false;
47         throw new AssertionError();
48     }
49
50 }