Elin Decompiled Documentation EA 23.319 Nightly Patch 1
Loading...
Searching...
No Matches
CoreDebug.MatColorTest Class Reference

Public Member Functions

void Update ()
 

Public Attributes

bool enable
 
Color color
 
int matColor
 
ColorProfile profile
 

Detailed Description

Definition at line 77 of file CoreDebug.cs.

Member Function Documentation

◆ Update()

void CoreDebug.MatColorTest.Update ( )
inline

Definition at line 87 of file CoreDebug.cs.

88 {
89 foreach (SourceMaterial.Row row in EClass.sources.materials.rows)
90 {
91 if (row != MATERIAL.sourceWaterSea)
92 {
93 MatColors matColors = profile.matColors.TryGetValue(row.alias);
94 row.matColor = matColors.main;
95 row.altColor = matColors.alt;
96 }
97 }
98 }
UD_String_MatData matColors
ColorProfile profile
Definition: CoreDebug.cs:85
Definition: EClass.cs:6
static SourceManager sources
Definition: EClass.cs:43
static SourceMaterial.Row sourceWaterSea
Definition: MATERIAL.cs:49
Color main
Definition: MatColors.cs:7
Color alt
Definition: MatColors.cs:9
SourceMaterial materials
bool TryGetValue(TKey key, out TValue value)
Definition: UDictionary.cs:178

References MatColors.alt, MatColors.main, ColorProfile.matColors, SourceManager.materials, CoreDebug.MatColorTest.profile, EClass.sources, MATERIAL.sourceWaterSea, and UDictionary< TKey, TValue >.TryGetValue().

Member Data Documentation

◆ color

Color CoreDebug.MatColorTest.color

Definition at line 81 of file CoreDebug.cs.

◆ enable

bool CoreDebug.MatColorTest.enable

Definition at line 79 of file CoreDebug.cs.

◆ matColor

int CoreDebug.MatColorTest.matColor

Definition at line 83 of file CoreDebug.cs.

◆ profile

ColorProfile CoreDebug.MatColorTest.profile

Definition at line 85 of file CoreDebug.cs.

Referenced by CoreDebug.MatColorTest.Update().


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