Esempio n. 1
0
        public void Load(System.IO.Stream stream)
        {
            Header     = new HsfFile(stream);
            Skeleton   = new STSkeleton();
            this.Label = FileInfo.FileName;
            this.Tag   = this;

            LoadSkeleton();
            LoadMeshes();
            LoadTextures();
            LoadAnimations();

            HSFRenderer = new HSF_Renderer(this, ToGeneric());
        }
Esempio n. 2
0
        public void FromGeneric(STGenericScene scene)
        {
            Header = HSFModelImporter.Import(scene, new HSFModelImporter.ImportSettings());
            Model  = null;

            return;

            LoadSkeleton();
            LoadMeshes();
            LoadTextures();
            LoadAnimations();

            HSFRenderer = new HSF_Renderer(this, ToGeneric());
        }