Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D.Importers (in Visual3D.Importers.dll) Version: 1.0.0.0 (1.0.0.0)
The hierarchical structure of an OpenFlight database is stored on disk as a file.
The file consists of a linear stream of binary records.
Namespace: Visual3D.Assets.Loaders.OpenFlightAssembly: Visual3D.Importers (in Visual3D.Importers.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public class Record
Public Class Record
Members
| All Members | Constructors | Methods |
| Member | Description | |
|---|---|---|
| Record()()()() | Initializes a new instance of the Record class | |
| New()()()() |
Remarks
Byte ordering in the file is big endian. All OpenFlight records begin with a 4 byte sequence.
The first two bytes of this sequence identifies the record type (opcode) and the second two bytes specify the length of the record.
Note that the length includes this 4 byte sequence so the minimum length of any record (that does not contain any additional data) will be 4.
Inheritance Hierarchy
System..::..Object
Visual3D.Assets.Loaders.OpenFlight..::..Record
Visual3D.Assets.Loaders.OpenFlight..::..Record..::..Header
Visual3D.Assets.Loaders.OpenFlight..::..Record
Visual3D.Assets.Loaders.OpenFlight..::..Record..::..Header