Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ToJOutline Class Reference
Inheritance diagram for ToJOutline:

Public Member Functions

override void ModifyMesh (VertexHelper vh)
 

Protected Member Functions

 ToJOutline ()
 

Private Attributes

List< UIVertex > m_Verts = new List<UIVertex>()
 

Detailed Description

Definition at line 6 of file ToJOutline.cs.

Constructor & Destructor Documentation

◆ ToJOutline()

ToJOutline.ToJOutline ( )
inlineprotected

Definition at line 10 of file ToJOutline.cs.

11 {
12 }

Member Function Documentation

◆ ModifyMesh()

override void ToJOutline.ModifyMesh ( VertexHelper  vh)
inline

Definition at line 14 of file ToJOutline.cs.

15 {
16 if (!IsActive())
17 {
18 return;
19 }
20 vh.GetUIVertexStream(m_Verts);
21 int count = m_Verts.Count;
22 int num = m_Verts.Count * 5;
23 if (m_Verts.Capacity < num)
24 {
25 m_Verts.Capacity = num;
26 }
27 int start = 0;
28 int count2 = m_Verts.Count;
29 ApplyShadowZeroAlloc(m_Verts, base.effectColor, start, m_Verts.Count, base.effectDistance.x, base.effectDistance.y);
30 start = count2;
31 int count3 = m_Verts.Count;
32 ApplyShadowZeroAlloc(m_Verts, base.effectColor, start, m_Verts.Count, base.effectDistance.x, 0f - base.effectDistance.y);
33 start = count3;
34 int count4 = m_Verts.Count;
35 ApplyShadowZeroAlloc(m_Verts, base.effectColor, start, m_Verts.Count, 0f - base.effectDistance.x, base.effectDistance.y);
36 start = count4;
37 _ = m_Verts.Count;
38 ApplyShadowZeroAlloc(m_Verts, base.effectColor, start, m_Verts.Count, 0f - base.effectDistance.x, 0f - base.effectDistance.y);
39 Text component = GetComponent<Text>();
40 if (component != null && component.material.shader == Shader.Find("Text Effects/Fancy Text"))
41 {
42 for (int i = 0; i < m_Verts.Count - count; i++)
43 {
44 UIVertex value = m_Verts[i];
45 value.uv1 = new Vector2(0f, 0f);
46 m_Verts[i] = value;
47 }
48 }
49 vh.Clear();
50 vh.AddUIVertexTriangleStream(m_Verts);
51 }
List< UIVertex > m_Verts
Definition: ToJOutline.cs:8

References m_Verts.

Member Data Documentation

◆ m_Verts

List<UIVertex> ToJOutline.m_Verts = new List<UIVertex>()
private

Definition at line 8 of file ToJOutline.cs.

Referenced by ModifyMesh().


The documentation for this class was generated from the following file: