Definition at line 4 of file Outline8.cs.
◆ ModifyVertices()
override void Outline8.ModifyVertices |
( |
List< UIVertex > |
verts | ) |
|
|
inlinevirtual |
Reimplemented from ModifiedShadow.
Definition at line 6 of file Outline8.cs.
7 {
8 if (!IsActive())
9 {
10 return;
11 }
12 int num = verts.Count * 9;
13 if (verts.Capacity < num)
14 {
15 verts.Capacity = num;
16 }
17 int count = verts.Count;
18 int num2 = 0;
19 for (int i = -1; i <= 1; i++)
20 {
21 for (int j = -1; j <= 1; j++)
22 {
23 if (i != 0 || j != 0)
24 {
25 int num3 = num2 + count;
26 ApplyShadow(verts, base.effectColor, num2, num3, base.effectDistance.x * (float)i, base.effectDistance.y * (float)j);
27 num2 = num3;
28 }
29 }
30 }
31 }
The documentation for this class was generated from the following file: