terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Material.cs
Go to the documentation of this file.
1using System;
7
8namespace UnityEngine
9{
10 // Token: 0x0200005E RID: 94
11 [NativeHeader("Runtime/Shaders/Material.h")]
12 [NativeHeader("Runtime/Graphics/ShaderScriptBindings.h")]
13 public class Material : Object
14 {
15 // Token: 0x06000196 RID: 406 RVA: 0x00004490 File Offset: 0x00002690
16 [FreeFunction("MaterialScripting::CreateWithShader")]
17 private static void CreateWithShader([Writable] Material self, [NotNull("ArgumentNullException")] Shader shader)
18 {
19 throw new MissingMethodException();
20 }
21
22 // Token: 0x06000197 RID: 407 RVA: 0x000044A4 File Offset: 0x000026A4
23 [FreeFunction("MaterialScripting::CreateWithMaterial")]
24 private static void CreateWithMaterial([Writable] Material self, [NotNull("ArgumentNullException")] Material source)
25 {
26 throw new MissingMethodException();
27 }
28
29 // Token: 0x06000198 RID: 408 RVA: 0x000044B8 File Offset: 0x000026B8
30 [FreeFunction("MaterialScripting::CreateWithString")]
31 private static void CreateWithString([Writable] Material self)
32 {
33 throw new MissingMethodException();
34 }
35
36 // Token: 0x06000199 RID: 409 RVA: 0x000044CC File Offset: 0x000026CC
38 {
39 if (!true)
40 {
41 }
42 base..ctor();
43 throw new MissingMethodException();
44 }
45
46 // Token: 0x0600019A RID: 410 RVA: 0x000044E8 File Offset: 0x000026E8
49 {
50 if (!true)
51 {
52 }
53 base..ctor();
54 throw new MissingMethodException();
55 }
56
57 // Token: 0x0600019B RID: 411 RVA: 0x00004504 File Offset: 0x00002704
59 [Obsolete("Creating materials from shader source string is no longer supported. Use Shader assets instead.", false)]
60 public Material(string contents)
61 {
62 if (!true)
63 {
64 }
65 base..ctor();
66 throw new MissingMethodException();
67 }
68
69 // Token: 0x17000053 RID: 83
70 // (get) Token: 0x0600019C RID: 412 RVA: 0x00004520 File Offset: 0x00002720
72 {
73 get
74 {
75 throw new MissingMethodException();
76 }
77 }
78
79 // Token: 0x17000054 RID: 84
80 // (get) Token: 0x0600019D RID: 413 RVA: 0x00004534 File Offset: 0x00002734
81 // (set) Token: 0x0600019E RID: 414 RVA: 0x00004554 File Offset: 0x00002754
82 public Color color
83 {
84 get
85 {
86 throw new MissingMethodException();
87 }
88 set
89 {
90 throw new MissingMethodException();
91 }
92 }
93
94 // Token: 0x17000055 RID: 85
95 // (get) Token: 0x0600019F RID: 415 RVA: 0x00004568 File Offset: 0x00002768
97 {
98 get
99 {
100 throw new MissingMethodException();
101 }
102 }
103
104 // Token: 0x060001A0 RID: 416 RVA: 0x0000458C File Offset: 0x0000278C
105 [NativeName("GetFirstPropertyNameIdByAttributeFromScript")]
110
111 // Token: 0x060001A1 RID: 417 RVA: 0x000045A0 File Offset: 0x000027A0
112 [NativeName("HasPropertyFromScript")]
113 public bool HasProperty(int nameID)
114 {
115 throw new MissingMethodException();
116 }
117
118 // Token: 0x060001A2 RID: 418 RVA: 0x000045B4 File Offset: 0x000027B4
119 public bool HasProperty(string name)
120 {
121 throw new MissingMethodException();
122 }
123
124 // Token: 0x17000056 RID: 86
125 // (set) Token: 0x060001A3 RID: 419 RVA: 0x000045CC File Offset: 0x000027CC
126 public int renderQueue
127 {
128 [NativeName("SetCustomRenderQueue")]
129 set
130 {
131 throw new MissingMethodException();
132 }
133 }
134
135 // Token: 0x060001A4 RID: 420 RVA: 0x000045E0 File Offset: 0x000027E0
136 public void EnableKeyword(string keyword)
137 {
138 throw new MissingMethodException();
139 }
140
141 // Token: 0x060001A5 RID: 421 RVA: 0x000045F4 File Offset: 0x000027F4
142 public void DisableKeyword(string keyword)
143 {
144 throw new MissingMethodException();
145 }
146
147 // Token: 0x060001A6 RID: 422 RVA: 0x00004608 File Offset: 0x00002808
148 [NativeName("SetFloatFromScript")]
149 private void SetFloatImpl(int name, float value)
150 {
151 throw new MissingMethodException();
152 }
153
154 // Token: 0x060001A7 RID: 423 RVA: 0x0000461C File Offset: 0x0000281C
155 [NativeName("SetColorFromScript")]
156 private void SetColorImpl(int name, Color value)
157 {
158 throw new MissingMethodException();
159 }
160
161 // Token: 0x060001A8 RID: 424 RVA: 0x00004630 File Offset: 0x00002830
162 [NativeName("SetTextureFromScript")]
163 private void SetTextureImpl(int name, Texture value)
164 {
165 throw new MissingMethodException();
166 }
167
168 // Token: 0x060001A9 RID: 425 RVA: 0x00004644 File Offset: 0x00002844
169 [NativeName("GetColorFromScript")]
171 {
172 throw new MissingMethodException();
173 }
174
175 // Token: 0x060001AA RID: 426 RVA: 0x00004658 File Offset: 0x00002858
176 [NativeName("GetTextureFromScript")]
178 {
179 throw new MissingMethodException();
180 }
181
182 // Token: 0x060001AB RID: 427 RVA: 0x0000466C File Offset: 0x0000286C
183 public void SetFloat(string name, float value)
184 {
185 throw new MissingMethodException();
186 }
187
188 // Token: 0x060001AC RID: 428 RVA: 0x00004688 File Offset: 0x00002888
189 public void SetFloat(int nameID, float value)
190 {
191 throw new MissingMethodException();
192 }
193
194 // Token: 0x060001AD RID: 429 RVA: 0x0000469C File Offset: 0x0000289C
195 public void SetColor(string name, Color value)
196 {
197 throw new MissingMethodException();
198 }
199
200 // Token: 0x060001AE RID: 430 RVA: 0x000046B0 File Offset: 0x000028B0
201 public void SetColor(int nameID, Color value)
202 {
203 this.SetColorImpl(nameID, value);
204 }
205
206 // Token: 0x060001AF RID: 431 RVA: 0x000046C8 File Offset: 0x000028C8
207 public void SetVector(int nameID, Vector4 value)
208 {
209 }
210
211 // Token: 0x060001B0 RID: 432 RVA: 0x000046D8 File Offset: 0x000028D8
212 public void SetTexture(int nameID, Texture value)
213 {
214 throw new MissingMethodException();
215 }
216
217 // Token: 0x060001B1 RID: 433 RVA: 0x000046EC File Offset: 0x000028EC
218 public Color GetColor(string name)
219 {
220 throw new MissingMethodException();
221 }
222
223 // Token: 0x060001B2 RID: 434 RVA: 0x00004700 File Offset: 0x00002900
225 {
226 return this.GetColorImpl(nameID);
227 }
228
229 // Token: 0x060001B3 RID: 435 RVA: 0x00004714 File Offset: 0x00002914
230 public Texture GetTexture(string name)
231 {
232 throw new MissingMethodException();
233 }
234
235 // Token: 0x060001B4 RID: 436 RVA: 0x0000472C File Offset: 0x0000292C
237 {
238 throw new MissingMethodException();
239 }
240
241 // Token: 0x060001B5 RID: 437 RVA: 0x00004740 File Offset: 0x00002940
243 {
244 throw new MissingMethodException();
245 }
246
247 // Token: 0x060001B6 RID: 438 RVA: 0x00004754 File Offset: 0x00002954
248 private void GetColorImpl_Injected(int name, [Out] Color ret)
249 {
250 throw new MissingMethodException();
251 }
252 }
253}
class f__AnonymousType0<< Count > j__TPar
void SetColor(string name, Color value)
Definition Material.cs:195
void SetVector(int nameID, Vector4 value)
Definition Material.cs:207
void GetColorImpl_Injected(int name, [Out] Color ret)
Definition Material.cs:248
Material(Shader shader)
Definition Material.cs:37
bool HasProperty(int nameID)
Definition Material.cs:113
Material(Material source)
Definition Material.cs:48
static void CreateWithString([Writable] Material self)
Definition Material.cs:31
Texture GetTexture(int nameID)
Definition Material.cs:236
void SetTextureImpl(int name, Texture value)
Definition Material.cs:163
void SetTexture(int nameID, Texture value)
Definition Material.cs:212
void SetColor(int nameID, Color value)
Definition Material.cs:201
void SetFloat(int nameID, float value)
Definition Material.cs:189
static void CreateWithShader([Writable] Material self, [NotNull("ArgumentNullException")] Shader shader)
Definition Material.cs:17
void SetFloatImpl(int name, float value)
Definition Material.cs:149
Texture GetTexture(string name)
Definition Material.cs:230
Texture GetTextureImpl(int name)
Definition Material.cs:177
void SetFloat(string name, float value)
Definition Material.cs:183
bool HasProperty(string name)
Definition Material.cs:119
void SetColorImpl(int name, Color value)
Definition Material.cs:156
void SetColorImpl_Injected(int name, Color value)
Definition Material.cs:242
void DisableKeyword(string keyword)
Definition Material.cs:142
Color GetColor(string name)
Definition Material.cs:218
Material(string contents)
Definition Material.cs:60
static void CreateWithMaterial([Writable] Material self, [NotNull("ArgumentNullException")] Material source)
Definition Material.cs:24
void EnableKeyword(string keyword)
Definition Material.cs:136
int GetFirstPropertyNameIdByAttribute(ShaderPropertyFlags attributeFlag)
Definition Material.cs:106
Color GetColor(int nameID)
Definition Material.cs:224
Color GetColorImpl(int name)
Definition Material.cs:170