-
Notifications
You must be signed in to change notification settings - Fork 5
/
3D.cs
35 lines (31 loc) · 1.45 KB
/
3D.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace SL3Reader {
[StructLayout(LayoutKind.Sequential, Size = Size), SkipLocalsInit]
public readonly struct ThreeDimensionalFrameHeader
{
public const int Size = 76;
public readonly int HeaderSize { get; }
public readonly int NumberOfLeftBytes { get; }
public readonly int NumberOfRightBytes { get; }
public readonly int NumberOfUnreliableBytes { get; }
public readonly int NumberOfUnreliableRightBytes { get; }
public readonly int NumberOfUnreliableLeftBytes { get; }
public readonly int UnknownAt24 { get; }
public readonly int UnknownAt28 { get; }
public readonly int UnknownAt32 { get; }
public readonly int UnknownAt36 { get; }
public readonly int UnknownAt40 { get; }
public readonly int UnknownAt44 { get; }
public readonly int UnknownAt48 { get; }
public readonly int UnknownAt52 { get; }
public readonly int UnknownAt56 { get; }
public readonly int UnknownAt60 { get; }
public readonly int UnknownAt64 { get; }
public readonly int UnknownAt68 { get; }
public readonly int UnknownAt72 { get; }
public readonly int NumberOfUsedBytes => NumberOfLeftBytes +
NumberOfRightBytes +
NumberOfUnreliableBytes;
}
}