// 初期化
 public MMDアニメ変数()
 {
     this.注視点からの距離 = new アニメ変数 <float>(45f);
     this.注視点の位置   = new アニメ変数 <Vector3>(new Vector3(0f, 10f, 0f));
     this.回転rad    = new アニメ変数 <Vector3>(new Vector3(0f, MathUtil.Pi, 0f));
     this.視野角deg   = new アニメ変数 <float>(40f);
     this.近面Z      = new アニメ変数 <float>(1.0f);
     this.遠面Z      = new アニメ変数 <float>(200f);
     this.アスペクト比   = new アニメ変数 <float>(1.618f);
 }
 // 初期化
 public DXアニメ変数()
 {
     this.位置     = new アニメ変数 <Vector3>(new Vector3(0f, 0f, -0.5f));
     this.注視点の位置 = new アニメ変数 <Vector3>(new Vector3(0f, 0f, 0f));
     this.方向     = new アニメ変数 <Vector3>(new Vector3(0f, 1f, 0f));
     this.視野角deg = new アニメ変数 <float>(40f);
     this.近面Z    = new アニメ変数 <float>(1.0f);
     this.遠面Z    = new アニメ変数 <float>(200f);
     this.アスペクト比 = new アニメ変数 <float>(1.618f);
 }
예제 #3
0
        // 生成と終了


        public PMXモーフ制御(PMXFormat.モーフ morph)
        {
            this.PMXFモーフ   = morph;
            this.モーフ値      = 0;
            this.アニメ変数_モーフ = new アニメ変数 <float>(0f);
        }