AoMEngineLibrary.Graphics.Brg.BrgMeshHeader.BrgMeshHeader C# (CSharp) Method

BrgMeshHeader() public method

public BrgMeshHeader ( BrgBinaryReader reader ) : System
reader BrgBinaryReader
return System
        public BrgMeshHeader(BrgBinaryReader reader)
        {
            this.Version = reader.ReadInt16();
            this.Format = (BrgMeshFormat)reader.ReadInt16();
            this.NumVertices = reader.ReadInt16();
            this.NumFaces = reader.ReadInt16();
            this.InterpolationType = (BrgMeshInterpolationType)reader.ReadByte();
            this.AnimationType = (BrgMeshAnimType)reader.ReadByte();
            this.UserDataEntryCount = reader.ReadInt16();
            this.CenterPosition = reader.ReadVector3D(true, false);
            this.CenterRadius = reader.ReadSingle();
            this.MassPosition = reader.ReadVector3D(true, false);
            this.HotspotPosition = reader.ReadVector3D(true, false);
            this.ExtendedHeaderSize = reader.ReadInt16();
            this.Flags = (BrgMeshFlag)reader.ReadInt16();
            this.MinimumExtent = reader.ReadVector3D(true, false);
            this.MaximumExtent = reader.ReadVector3D(true, false);
        }

Same methods

BrgMeshHeader::BrgMeshHeader ( ) : System