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
Camera.cs
Go to the documentation of this file.
1using System;
5
6namespace UnityEngine
7{
8 // Token: 0x0200007D RID: 125
9 [NativeHeader("Runtime/Graphics/RenderTexture.h")]
11 [NativeHeader("Runtime/Camera/Camera.h")]
12 [NativeHeader("Runtime/GfxDevice/GfxDeviceTypes.h")]
13 [NativeHeader("Runtime/Shaders/Shader.h")]
14 [NativeHeader("Runtime/Misc/GameObjectUtility.h")]
16 [NativeHeader("Runtime/Camera/RenderManager.h")]
17 [NativeHeader("Runtime/Graphics/CommandBuffer/RenderingCommandBuffer.h")]
18 public sealed class Camera : Behaviour
19 {
20 // Token: 0x060001F7 RID: 503 RVA: 0x00004CF8 File Offset: 0x00002EF8
21 public Camera()
22 {
23 }
24
25 // Token: 0x17000060 RID: 96
26 // (get) Token: 0x060001F8 RID: 504 RVA: 0x00004D0C File Offset: 0x00002F0C
27 [NativeProperty("Near")]
28 public float nearClipPlane
29 {
30 get
31 {
32 throw new MissingMethodException();
33 }
34 }
35
36 // Token: 0x17000061 RID: 97
37 // (get) Token: 0x060001F9 RID: 505 RVA: 0x00004D20 File Offset: 0x00002F20
38 [NativeProperty("Far")]
39 public float farClipPlane
40 {
41 get
42 {
43 throw new MissingMethodException();
44 }
45 }
46
47 // Token: 0x17000062 RID: 98
48 // (get) Token: 0x060001FA RID: 506 RVA: 0x00004D34 File Offset: 0x00002F34
49 [NativeProperty("VerticalFieldOfView")]
50 public float fieldOfView
51 {
52 get
53 {
54 throw new MissingMethodException();
55 }
56 }
57
58 // Token: 0x17000063 RID: 99
59 // (get) Token: 0x060001FB RID: 507 RVA: 0x00004D48 File Offset: 0x00002F48
60 public float orthographicSize
61 {
62 get
63 {
64 throw new MissingMethodException();
65 }
66 }
67
68 // Token: 0x17000064 RID: 100
69 // (get) Token: 0x060001FC RID: 508 RVA: 0x00004D5C File Offset: 0x00002F5C
70 public float depth
71 {
72 get
73 {
74 throw new MissingMethodException();
75 }
76 }
77
78 // Token: 0x17000065 RID: 101
79 // (get) Token: 0x060001FD RID: 509 RVA: 0x00004D70 File Offset: 0x00002F70
80 public float aspect
81 {
82 get
83 {
84 throw new MissingMethodException();
85 }
86 }
87
88 // Token: 0x17000066 RID: 102
89 // (get) Token: 0x060001FE RID: 510 RVA: 0x00004D84 File Offset: 0x00002F84
90 public int cullingMask
91 {
92 get
93 {
94 throw new MissingMethodException();
95 }
96 }
97
98 // Token: 0x17000067 RID: 103
99 // (get) Token: 0x060001FF RID: 511 RVA: 0x00004D98 File Offset: 0x00002F98
100 public int eventMask
101 {
102 get
103 {
104 throw new MissingMethodException();
105 }
106 }
107
108 // Token: 0x17000068 RID: 104
109 // (set) Token: 0x06000200 RID: 512 RVA: 0x00004DAC File Offset: 0x00002FAC
111 {
112 set
113 {
114 throw new MissingMethodException();
115 }
116 }
117
118 // Token: 0x17000069 RID: 105
119 // (get) Token: 0x06000201 RID: 513 RVA: 0x00004DC0 File Offset: 0x00002FC0
120 // (set) Token: 0x06000202 RID: 514 RVA: 0x00004DD4 File Offset: 0x00002FD4
122 {
123 get
124 {
125 throw new MissingMethodException();
126 }
127 set
128 {
129 throw new MissingMethodException();
130 }
131 }
132
133 // Token: 0x1700006A RID: 106
134 // (get) Token: 0x06000203 RID: 515 RVA: 0x00004DE8 File Offset: 0x00002FE8
135 // (set) Token: 0x06000204 RID: 516 RVA: 0x00004DFC File Offset: 0x00002FFC
136 [NativeProperty("NormalizedViewportRect")]
137 public Rect rect
138 {
139 get
140 {
141 throw new MissingMethodException();
142 }
143 set
144 {
145 throw new MissingMethodException();
146 }
147 }
148
149 // Token: 0x1700006B RID: 107
150 // (get) Token: 0x06000205 RID: 517 RVA: 0x00004E10 File Offset: 0x00003010
151 [NativeProperty("ScreenViewportRect")]
153 {
154 get
155 {
156 throw new MissingMethodException();
157 }
158 }
159
160 // Token: 0x1700006C RID: 108
161 // (get) Token: 0x06000206 RID: 518 RVA: 0x00004E24 File Offset: 0x00003024
162 public int pixelWidth
163 {
164 [FreeFunction("CameraScripting::GetPixelWidth", HasExplicitThis = true)]
165 get
166 {
167 throw new MissingMethodException();
168 }
169 }
170
171 // Token: 0x1700006D RID: 109
172 // (get) Token: 0x06000207 RID: 519 RVA: 0x00004E38 File Offset: 0x00003038
173 public int pixelHeight
174 {
175 [FreeFunction("CameraScripting::GetPixelHeight", HasExplicitThis = true)]
176 get
177 {
178 throw new MissingMethodException();
179 }
180 }
181
182 // Token: 0x1700006E RID: 110
183 // (get) Token: 0x06000208 RID: 520 RVA: 0x00004E4C File Offset: 0x0000304C
184 // (set) Token: 0x06000209 RID: 521 RVA: 0x00004E60 File Offset: 0x00003060
186 {
187 get
188 {
189 throw new MissingMethodException();
190 }
191 set
192 {
193 throw new MissingMethodException();
194 }
195 }
196
197 // Token: 0x1700006F RID: 111
198 // (get) Token: 0x0600020A RID: 522 RVA: 0x00004E74 File Offset: 0x00003074
199 public int targetDisplay
200 {
201 get
202 {
203 throw new MissingMethodException();
204 }
205 }
206
207 // Token: 0x17000070 RID: 112
208 // (set) Token: 0x0600020B RID: 523 RVA: 0x00004E88 File Offset: 0x00003088
210 {
211 set
212 {
213 throw new MissingMethodException();
214 }
215 }
216
217 // Token: 0x0600020C RID: 524 RVA: 0x00004E9C File Offset: 0x0000309C
222
223 // Token: 0x0600020D RID: 525 RVA: 0x00004EB0 File Offset: 0x000030B0
228
229 // Token: 0x0600020E RID: 526 RVA: 0x00004EC4 File Offset: 0x000030C4
234
235 // Token: 0x0600020F RID: 527 RVA: 0x00004ED8 File Offset: 0x000030D8
237 {
238 Vector3 vector;
239 return vector;
240 }
241
242 // Token: 0x06000210 RID: 528 RVA: 0x00004EE8 File Offset: 0x000030E8
244 {
245 Vector3 vector;
246 return vector;
247 }
248
249 // Token: 0x06000211 RID: 529 RVA: 0x00004EF8 File Offset: 0x000030F8
251 {
252 Vector3 vector;
253 return vector;
254 }
255
256 // Token: 0x06000212 RID: 530 RVA: 0x00004F08 File Offset: 0x00003108
258 {
259 throw new MissingMethodException();
260 }
261
262 // Token: 0x06000213 RID: 531 RVA: 0x00004F1C File Offset: 0x0000311C
267
268 // Token: 0x06000214 RID: 532 RVA: 0x00004F30 File Offset: 0x00003130
270 {
271 Ray ray;
272 return ray;
273 }
274
275 // Token: 0x06000215 RID: 533 RVA: 0x00004F40 File Offset: 0x00003140
277 {
278 Ray ray;
279 return ray;
280 }
281
282 // Token: 0x17000071 RID: 113
283 // (get) Token: 0x06000216 RID: 534 RVA: 0x00004F50 File Offset: 0x00003150
284 public static Camera main
285 {
286 [FreeFunction("FindMainCamera")]
287 get
288 {
289 throw new MissingMethodException();
290 }
291 }
292
293 // Token: 0x17000072 RID: 114
294 // (get) Token: 0x06000217 RID: 535 RVA: 0x00004F64 File Offset: 0x00003164
295 public static Camera current
296 {
297 [FreeFunction("GetCurrentCameraPPtr")]
298 get
299 {
300 throw new MissingMethodException();
301 }
302 }
303
304 // Token: 0x06000218 RID: 536 RVA: 0x00004F78 File Offset: 0x00003178
305 [FreeFunction("CameraScripting::GetAllCamerasCount")]
306 private static int GetAllCamerasCount()
307 {
308 throw new MissingMethodException();
309 }
310
311 // Token: 0x06000219 RID: 537 RVA: 0x00004F8C File Offset: 0x0000318C
312 [FreeFunction("CameraScripting::GetAllCameras")]
313 private static int GetAllCamerasImpl([NotNull("ArgumentNullException")] [Out] Camera[] cam)
314 {
315 throw new MissingMethodException();
316 }
317
318 // Token: 0x17000073 RID: 115
319 // (get) Token: 0x0600021A RID: 538 RVA: 0x00004FA0 File Offset: 0x000031A0
320 public static int allCamerasCount
321 {
322 get
323 {
324 throw new MissingMethodException();
325 }
326 }
327
328 // Token: 0x0600021B RID: 539 RVA: 0x00004FB4 File Offset: 0x000031B4
329 public static int GetAllCameras(Camera[] cameras)
330 {
331 throw new MissingMethodException();
332 }
333
334 // Token: 0x0600021C RID: 540 RVA: 0x00004FCC File Offset: 0x000031CC
335 [FreeFunction("CameraScripting::Render", HasExplicitThis = true)]
336 public void Render()
337 {
338 throw new MissingMethodException();
339 }
340
341 // Token: 0x0600021D RID: 541 RVA: 0x00004FE0 File Offset: 0x000031E0
343 private static void FireOnPreCull(Camera cam)
344 {
345 }
346
347 // Token: 0x0600021E RID: 542 RVA: 0x00004FF0 File Offset: 0x000031F0
349 private static void FireOnPreRender(Camera cam)
350 {
351 }
352
353 // Token: 0x0600021F RID: 543 RVA: 0x00005000 File Offset: 0x00003200
355 private static void FireOnPostRender(Camera cam)
356 {
357 }
358
359 // Token: 0x06000220 RID: 544 RVA: 0x00005010 File Offset: 0x00003210
361 {
362 throw new MissingMethodException();
363 }
364
365 // Token: 0x06000221 RID: 545 RVA: 0x00005024 File Offset: 0x00003224
366 private void get_rect_Injected([Out] Rect ret)
367 {
368 throw new MissingMethodException();
369 }
370
371 // Token: 0x06000222 RID: 546 RVA: 0x00005038 File Offset: 0x00003238
373 {
374 throw new MissingMethodException();
375 }
376
377 // Token: 0x06000223 RID: 547 RVA: 0x0000504C File Offset: 0x0000324C
378 private void get_pixelRect_Injected([Out] Rect ret)
379 {
380 throw new MissingMethodException();
381 }
382
383 // Token: 0x06000224 RID: 548 RVA: 0x00005060 File Offset: 0x00003260
385 {
386 throw new MissingMethodException();
387 }
388
389 // Token: 0x06000225 RID: 549 RVA: 0x00005074 File Offset: 0x00003274
391 {
392 throw new MissingMethodException();
393 }
394
395 // Token: 0x06000226 RID: 550 RVA: 0x00005088 File Offset: 0x00003288
397 {
398 throw new MissingMethodException();
399 }
400
401 // Token: 0x06000227 RID: 551 RVA: 0x0000509C File Offset: 0x0000329C
403 {
404 throw new MissingMethodException();
405 }
406
407 // Token: 0x06000228 RID: 552 RVA: 0x000050B0 File Offset: 0x000032B0
408 private void ScreenToViewportPoint_Injected(Vector3 position, [Out] Vector3 ret)
409 {
410 throw new MissingMethodException();
411 }
412
413 // Token: 0x06000229 RID: 553 RVA: 0x000050C4 File Offset: 0x000032C4
415 {
416 throw new MissingMethodException();
417 }
418
419 // Token: 0x040002F1 RID: 753
421
422 // Token: 0x040002F2 RID: 754
424
425 // Token: 0x040002F3 RID: 755
427
428 // Token: 0x0200007E RID: 126
430 {
431 // Token: 0x040002F5 RID: 757
432 Left,
433 // Token: 0x040002F6 RID: 758
434 Right,
435 // Token: 0x040002F7 RID: 759
436 Mono
437 }
438
439 // Token: 0x0200007F RID: 127
441 {
442 // Token: 0x040002F9 RID: 761
443 None,
444 // Token: 0x040002FA RID: 762
445 ObjectId,
446 // Token: 0x040002FB RID: 763
447 Depth,
448 // Token: 0x040002FC RID: 764
450 // Token: 0x040002FD RID: 765
452 // Token: 0x040002FE RID: 766
453 EntityId,
454 // Token: 0x040002FF RID: 767
455 BaseColor,
456 // Token: 0x04000300 RID: 768
458 // Token: 0x04000301 RID: 769
459 Metallic,
460 // Token: 0x04000302 RID: 770
461 Emission,
462 // Token: 0x04000303 RID: 771
463 Normal,
464 // Token: 0x04000304 RID: 772
466 // Token: 0x04000305 RID: 773
467 Occlusion,
468 // Token: 0x04000306 RID: 774
470 }
471
472 // Token: 0x02000080 RID: 128
474 {
475 // Token: 0x04000308 RID: 776
476 ScreenSpace = -1,
477 // Token: 0x04000309 RID: 777
478 UV0,
479 // Token: 0x0400030A RID: 778
480 UV1,
481 // Token: 0x0400030B RID: 779
482 UV2,
483 // Token: 0x0400030C RID: 780
484 UV3,
485 // Token: 0x0400030D RID: 781
486 UV4,
487 // Token: 0x0400030E RID: 782
488 UV5,
489 // Token: 0x0400030F RID: 783
490 UV6,
491 // Token: 0x04000310 RID: 784
492 UV7,
493 // Token: 0x04000311 RID: 785
494 UV8
495 }
496
497 // Token: 0x02000081 RID: 129
498 public struct RenderRequest
499 {
500 // Token: 0x04000312 RID: 786
502
503 // Token: 0x04000313 RID: 787
505
506 // Token: 0x04000314 RID: 788
508 }
509
510 // Token: 0x02000082 RID: 130
511 public sealed class CameraCallback : MulticastDelegate
512 {
513 // Token: 0x0600022A RID: 554 RVA: 0x000050D8 File Offset: 0x000032D8
514 public CameraCallback(object @object, IntPtr method)
515 {
517 this.m_target = @object;
519 this.method_code = this;
520 }
521
522 // Token: 0x0600022B RID: 555 RVA: 0x0000512C File Offset: 0x0000332C
523 public void Invoke(Camera cam)
524 {
527 IntPtr method = this.method;
528 }
529 }
530 }
531}
class f__AnonymousType0<< Count > j__TPar
IntPtr method_code
Definition Delegate.cs:386
IntPtr invoke_impl
Definition Delegate.cs:371
CameraCallback(object @object, IntPtr method)
Definition Camera.cs:514
Vector3 ScreenToWorldPoint(Vector3 position)
Definition Camera.cs:250
void ScreenToWorldPoint_Injected(Vector3 position, Camera.MonoOrStereoscopicEye eye, [Out] Vector3 ret)
Definition Camera.cs:402
static int GetAllCameras(Camera[] cameras)
Definition Camera.cs:329
float fieldOfView
Definition Camera.cs:51
Vector3 WorldToScreenPoint(Vector3 position, Camera.MonoOrStereoscopicEye eye)
Definition Camera.cs:218
static Camera main
Definition Camera.cs:285
Ray ScreenPointToRay(Vector2 pos, Camera.MonoOrStereoscopicEye eye)
Definition Camera.cs:263
void set_rect_Injected(Rect value)
Definition Camera.cs:372
RenderTexture targetTexture
Definition Camera.cs:186
Vector3 ScreenToWorldPoint(Vector3 position, Camera.MonoOrStereoscopicEye eye)
Definition Camera.cs:230
CameraClearFlags clearFlags
Definition Camera.cs:122
static int GetAllCamerasCount()
Definition Camera.cs:306
static void FireOnPreCull(Camera cam)
Definition Camera.cs:343
void ViewportToWorldPoint_Injected(Vector3 position, Camera.MonoOrStereoscopicEye eye, [Out] Vector3 ret)
Definition Camera.cs:396
static Camera.CameraCallback onPreCull
Definition Camera.cs:420
Vector3 ViewportToWorldPoint(Vector3 position)
Definition Camera.cs:243
float nearClipPlane
Definition Camera.cs:29
Matrix4x4 projectionMatrix
Definition Camera.cs:210
static void FireOnPostRender(Camera cam)
Definition Camera.cs:355
void ScreenPointToRay_Injected(Vector2 pos, Camera.MonoOrStereoscopicEye eye, [Out] Ray ret)
Definition Camera.cs:414
void WorldToScreenPoint_Injected(Vector3 position, Camera.MonoOrStereoscopicEye eye, [Out] Vector3 ret)
Definition Camera.cs:390
void set_backgroundColor_Injected(Color value)
Definition Camera.cs:360
void ScreenToViewportPoint_Injected(Vector3 position, [Out] Vector3 ret)
Definition Camera.cs:408
static Camera current
Definition Camera.cs:296
void set_projectionMatrix_Injected(Matrix4x4 value)
Definition Camera.cs:384
static int allCamerasCount
Definition Camera.cs:321
float orthographicSize
Definition Camera.cs:61
Vector3 ScreenToViewportPoint(Vector3 position)
Definition Camera.cs:257
Ray ScreenPointToRay(Vector3 pos, Camera.MonoOrStereoscopicEye eye)
Definition Camera.cs:269
Color backgroundColor
Definition Camera.cs:111
void get_pixelRect_Injected([Out] Rect ret)
Definition Camera.cs:378
Vector3 ViewportToWorldPoint(Vector3 position, Camera.MonoOrStereoscopicEye eye)
Definition Camera.cs:224
static Camera.CameraCallback onPostRender
Definition Camera.cs:426
static int GetAllCamerasImpl([NotNull("ArgumentNullException")][Out] Camera[] cam)
Definition Camera.cs:313
static void FireOnPreRender(Camera cam)
Definition Camera.cs:349
Vector3 WorldToScreenPoint(Vector3 position)
Definition Camera.cs:236
void get_rect_Injected([Out] Rect ret)
Definition Camera.cs:366
static Camera.CameraCallback onPreRender
Definition Camera.cs:423
float farClipPlane
Definition Camera.cs:40
Ray ScreenPointToRay(Vector3 pos)
Definition Camera.cs:276
readonly RenderTexture m_ResultRT
Definition Camera.cs:504
readonly Camera.RenderRequestOutputSpace m_OutputSpace
Definition Camera.cs:507
readonly Camera.RenderRequestMode m_CameraRenderMode
Definition Camera.cs:501