Definition at line 4 of file BoxOutline.cs.
◆ ModifyVertices()
override void BoxOutline.ModifyVertices |
( |
List< UIVertex > |
verts | ) |
|
|
inlinevirtual |
Reimplemented from ModifiedShadow.
Definition at line 48 of file BoxOutline.cs.
49 {
50 if (!IsActive())
51 {
52 return;
53 }
55 if (verts.Capacity < num)
56 {
57 verts.Capacity = num;
58 }
59 int count = verts.Count;
60 int num2 = 0;
64 {
66 {
67 if (i != 0 || j != 0)
68 {
69 int num5 = num2 + count;
70 ApplyShadow(verts, base.effectColor, num2, num5, num3 * (float)i, num4 * (float)j);
71 num2 = num5;
72 }
73 }
74 }
75 }
References m_halfSampleCountX, and m_halfSampleCountY.
◆ m_halfSampleCountX
int BoxOutline.m_halfSampleCountX = 1 |
|
private |
◆ m_halfSampleCountY
int BoxOutline.m_halfSampleCountY = 1 |
|
private |
◆ maxHalfSampleCount
const int BoxOutline.maxHalfSampleCount = 20 |
|
staticprivate |
◆ halfSampleCountX
int BoxOutline.halfSampleCountX |
|
getset |
Definition at line 16 of file BoxOutline.cs.
17 {
18 get
19 {
21 }
22 set
23 {
25 if (base.graphic != null)
26 {
27 base.graphic.SetVerticesDirty();
28 }
29 }
30 }
◆ halfSampleCountY
int BoxOutline.halfSampleCountY |
|
getset |
Definition at line 32 of file BoxOutline.cs.
33 {
34 get
35 {
37 }
38 set
39 {
41 if (base.graphic != null)
42 {
43 base.graphic.SetVerticesDirty();
44 }
45 }
46 }
The documentation for this class was generated from the following file: