Definition at line 6 of file PointList.cs.
◆ Deserialize()
void PointList.Deserialize |
( |
| ) |
|
|
inline |
Definition at line 32 of file PointList.cs.
33 {
34 base.Capacity = data.Length / 2 + 8;
35 for (int i = 0; i < data.Length / 2; i++)
36 {
38 }
39 }
References Add(), and data.
Referenced by OnDeserialized().
◆ OnDeserialized()
void PointList.OnDeserialized |
( |
StreamingContext |
context | ) |
|
|
inlineprivate |
◆ OnSerializing()
void PointList.OnSerializing |
( |
StreamingContext |
context | ) |
|
|
inlineprivate |
Definition at line 12 of file PointList.cs.
13 {
14 data =
new int[base.Count * 2];
15 int num = 0;
16 using Enumerator enumerator = GetEnumerator();
17 while (enumerator.MoveNext())
18 {
19 Point current = enumerator.Current;
20 data[num] = current.
x;
21 data[num + 1] = current.
z;
22 num += 2;
23 }
24 }
References data, Point.x, and Point.z.
◆ data
The documentation for this class was generated from the following file: