示例#1
0
        public DsBoneData(DsBone bone, FLVER.Bone flverBone, FbxScene scene)
        {
            FbxSkeleton fbxBone = FbxSkeleton.Create(scene, bone.Name + "Bone");

            fbxBone.SetSkeletonType(flverBone.ChildIndex >= 0 ? FbxSkeleton.EType.eLimbNode : FbxSkeleton.EType.eEffector);

            fbxBone.Size.Set(flverBone.Translation.Length());

            exportData = fbxBone.CreateExportDataWithScene(bone, scene);

            this.flverBone = flverBone;
        }
示例#2
0
 public SkinExportData(FbxExportData <MeshExportData, FbxMesh> meshData, DsSkeleton skeleton, FLVER2 flver)
 {
     this.meshData = meshData;
     this.skeleton = skeleton;
     this.flver    = flver;
 }