コード例 #1
0
        /// <summary>
        /// Constructs a new animation player.
        /// </summary>
        public AnimationPlayer(SkinningData skinningData)
        {
            if (skinningData == null)
            {
                throw new ArgumentNullException("skinningData");
            }

            skinningDataValue = skinningData;

            boneTransforms  = new Matrix[skinningData.BindPose.Count];
            worldTransforms = new Matrix[skinningData.BindPose.Count];
            skinTransforms  = new Matrix[skinningData.BindPose.Count];
        }
コード例 #2
0
ファイル: ModelData.cs プロジェクト: bondjames12/spheregame
 public ModelData(List <object> VertexData, SkinningData SkinningData)
 {
     this.VertexData   = VertexData;
     this.SkinningData = SkinningData;
 }