AoMEngineLibrary.AMP.BrgMax.Clear C# (CSharp) Method

Clear() public method

public Clear ( ) : void
return void
        public void Clear()
        {
            this.File = new BrgFile();
            this.File.Meshes.Add(new BrgMesh(this.File));
            this.FileName = Path.GetDirectoryName(this.FileName) + "\\Untitled";
            this.File.Meshes[0].Header.InterpolationType = BrgMeshInterpolationType.Default;
            this.File.Meshes[0].Header.Flags = BrgMeshFlag.TEXCOORDSA | BrgMeshFlag.MATERIAL | BrgMeshFlag.ATTACHPOINTS;
            this.File.Meshes[0].Header.Format = BrgMeshFormat.HASFACENORMALS | BrgMeshFormat.ANIMATED;
            this.File.Meshes[0].Header.AnimationType = BrgMeshAnimType.KeyFrame;
        }