/**
* PMDファイルのエクスポーター(拡張無し基本フォーマット)。
- * <p>
- * 英名対応以降のPMDファイルフォーマットを
+ *
+ * <p>英名対応以降のPMDファイルフォーマットを
* 使いたくない場合はこのエクスポーターを用いて出力せよ。
*/
public class PmdExporterBase extends BinaryExporter{
/**
* コンストラクタ。
+ *
* @param stream 出力ストリーム
* @throws NullPointerException 引数がnull
*/
/**
* 改行文字の正規化を行う。
* CR(0x0d)およびCRLF(0x0d0a)がLF(0x0a)へと正規化される。
+ *
* @param text 文字列
* @return 正規化の行われた文字列。
*/
* 文字列の改行記号はLF(0x0a)に正規化される。
* エンコード結果がバイト長に満たない場合は
* 1つの0x00及びそれに続く複数の0xfdがパディングされる。
+ *
* @param text 文字列
* @param maxByteLength バイト長指定
* @throws IOException 出力エラー
* @throws IllegalTextExportException エンコード結果が
- * 指定バイト長をはみ出した。
+ * 指定バイト長をはみ出した。
*/
protected void dumpText(String text, int maxByteLength)
throws IOException, IllegalTextExportException{
/**
* モデルデータをPMDファイル形式で出力する。
+ *
* @param model モデルデータ
* @throws IOException 出力エラー
* @throws IllegalPmdDataException モデルデータに不備が発見された
/**
* モデル基本情報を出力する。
+ *
* @param model モデルデータ
* @throws IOException 出力エラー
* @throws IllegalTextExportException モデル名もしくは説明が長すぎる
/**
* 頂点リストを出力する。
+ *
* @param model モデルデータ
* @throws IOException 出力エラー
*/
/**
* 個別の頂点データを出力する。
+ *
* @param vertex 頂点
* @throws IOException 出力エラー
*/
/**
* 面リストを出力する。
+ *
* @param model モデルデータ
* @throws IOException 出力エラー
*/
/**
* マテリアル素材リストを出力する。
+ *
* @param model モデルデータ
* @throws IOException 出力エラー
* @throws IllegalTextExportException シェーディングファイル情報が長すぎる
/**
* フォンシェーディングの色情報を出力する。
+ *
* @param material マテリアル情報
* @throws IOException 出力エラー
*/
/**
* シェーディング情報を出力する。
+ *
* @param material マテリアル情報
* @throws IOException 出力エラー
* @throws IllegalTextExportException ファイル名が長すぎる
/**
* シェーディングファイル情報を出力する。
+ *
* @param shade シェーディング情報
* @throws IOException 出力エラー
* @throws IllegalTextExportException ファイル名が長すぎる
/**
* ボーンリストを出力する。
+ *
* @param model モデルデータ
* @throws IOException 出力エラー
* @throws IllegalTextExportException ボーン名が長すぎる
/**
* 個別のボーン情報を出力する。
+ *
* @param bone ボーン情報
* @throws IOException 出力エラー
* @throws IllegalTextExportException ボーン名が長すぎる
/**
* IKチェーンリストを出力する。
+ *
* @param model モデルデータ
* @throws IOException 出力エラー
*/
/**
* IKチェーンを出力する。
+ *
* @param chain IKチェーン
* @throws IOException 出力エラー
*/
/**
* モーフリストを出力する。
+ *
* @param model モデルデータ
* @throws IOException 出力エラー
* @throws IllegalTextExportException モーフ名が長すぎる
/**
* BASEモーフを出力する。
+ *
* @param model モデルデータ
* @throws IOException 出力エラー
* @throws IllegalTextExportException モーフ名が長すぎる
/**
* モーフグループを出力する。
+ *
* @param model モデルデータ
* @throws IOException 出力エラー
*/
/**
* ボーングループリストを出力する。
* デフォルトボーングループ内訳は出力されない。
+ *
* @param model モデルデータ
* @throws IOException 出力エラー
* @throws IllegalTextExportException ボーングループ名が長すぎる
/**
* 各種通し番号をshort値で出力する。
* short値に収まらない上位ビットは捨てられる。
+ *
* @param obj 番号づけられたオブジェクト
* @throws IOException 出力エラー
*/
/**
* 2次元位置情報を出力する。
+ *
* @param position 2次元位置情報
* @throws IOException 出力エラー
*/
/**
* 3次元位置情報を出力する。
+ *
* @param position 3次元位置情報
* @throws IOException 出力エラー
*/
/**
* 3次元ベクトル情報を出力する。
+ *
* @param vector 3次元ベクトル
* @throws IOException 出力エラー
*/