terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Mathf.cs
Go to the documentation of this file.
1using System;
10
11namespace UnityEngine
12{
13 [NativeHeader("Runtime/Math/PerlinNoise.h")]
14 [NativeHeader("Runtime/Utilities/BitUtility.h")]
15 [NativeHeader("Runtime/Math/ColorSpaceConversion.h")]
17 [NativeHeader("Runtime/Math/FloatConversion.h")]
18 [global::Cpp2ILInjected.Token(Token = "0x20000D1")]
19 public struct Mathf
20 {
21 [FreeFunction(IsThreadSafe = true)]
22 [global::Cpp2ILInjected.Token(Token = "0x6000429")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1F82B10", Offset = "0x1F82B10", Length = "0x3C")]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2D), Member = "ValidateFormat", MemberParameters = new object[]
25 {
27 typeof(int),
28 typeof(int)
29 }, ReturnType = typeof(bool))]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Cubemap), Member = "ValidateFormat", MemberParameters = new object[]
31 {
33 typeof(int)
34 }, ReturnType = typeof(bool))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Cubemap), Member = "ValidateFormat", MemberParameters = new object[]
36 {
38 typeof(int)
39 }, ReturnType = typeof(bool))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2DArray), Member = "ValidateFormat", MemberParameters = new object[]
41 {
43 typeof(int),
44 typeof(int)
45 }, ReturnType = typeof(bool))]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture2DArray), Member = "ValidateFormat", MemberParameters = new object[]
47 {
49 typeof(int),
50 typeof(int)
51 }, ReturnType = typeof(bool))]
52 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
53 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
54 [MethodImpl(4096)]
55 public static extern bool IsPowerOfTwo(int value);
56
57 [FreeFunction(IsThreadSafe = true)]
58 [global::Cpp2ILInjected.Token(Token = "0x600042A")]
59 [global::Cpp2ILInjected.Address(RVA = "0x1F82B4C", Offset = "0x1F82B4C", Length = "0x38")]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Color), Member = "get_linear", ReturnType = typeof(Color))]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
62 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
63 [MethodImpl(4096)]
64 public static extern float GammaToLinearSpace(float value);
65
66 [FreeFunction(IsThreadSafe = true)]
67 [global::Cpp2ILInjected.Token(Token = "0x600042B")]
68 [global::Cpp2ILInjected.Address(RVA = "0x1F82B84", Offset = "0x1F82B84", Length = "0x58")]
69 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightmapperUtils), Member = "ExtractColorTemperature", MemberParameters = new object[] { typeof(Light) }, ReturnType = typeof(Color))]
71 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
72 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x600042C")]
79 [global::Cpp2ILInjected.Address(RVA = "0x1F82C28", Offset = "0x1F82C28", Length = "0x64")]
80 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
81 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
83 [MethodImpl(256)]
84 public static float Sin(float f)
85 {
86 throw null;
87 }
88
89 [global::Cpp2ILInjected.Token(Token = "0x600042D")]
90 [global::Cpp2ILInjected.Address(RVA = "0x1F82C8C", Offset = "0x1F82C8C", Length = "0x64")]
91 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
92 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
94 [MethodImpl(256)]
95 public static float Cos(float f)
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x600042E")]
101 [global::Cpp2ILInjected.Address(RVA = "0x1F82CF0", Offset = "0x1F82CF0", Length = "0x64")]
102 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
103 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
104 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
105 [MethodImpl(256)]
106 public static float Tan(float f)
107 {
108 throw null;
109 }
110
111 [global::Cpp2ILInjected.Token(Token = "0x600042F")]
112 [global::Cpp2ILInjected.Address(RVA = "0x1F82D54", Offset = "0x1F82D54", Length = "0x64")]
113 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
114 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
115 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
116 [MethodImpl(256)]
117 public static float Atan(float f)
118 {
119 throw null;
120 }
121
122 [global::Cpp2ILInjected.Token(Token = "0x6000430")]
123 [global::Cpp2ILInjected.Address(RVA = "0x1F82DB8", Offset = "0x1F82DB8", Length = "0x6C")]
124 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
127 [MethodImpl(256)]
128 public static float Atan2(float y, float x)
129 {
130 throw null;
131 }
132
133 [global::Cpp2ILInjected.Token(Token = "0x6000431")]
134 [global::Cpp2ILInjected.Address(RVA = "0x1F82E24", Offset = "0x1F82E24", Length = "0x5C")]
135 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
136 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
137 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
138 [MethodImpl(256)]
139 public static float Sqrt(float f)
140 {
141 throw null;
142 }
143
144 [global::Cpp2ILInjected.Token(Token = "0x6000432")]
145 [global::Cpp2ILInjected.Address(RVA = "0x1F82E80", Offset = "0x1F82E80", Length = "0x5C")]
146 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
147 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
148 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
149 [MethodImpl(256)]
150 public static float Abs(float f)
151 {
152 throw null;
153 }
154
155 [global::Cpp2ILInjected.Token(Token = "0x6000433")]
156 [global::Cpp2ILInjected.Address(RVA = "0x1F82EDC", Offset = "0x1F82EDC", Length = "0x58")]
157 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
158 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
159 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
160 [MethodImpl(256)]
161 public static int Abs(int value)
162 {
163 throw null;
164 }
165
166 [global::Cpp2ILInjected.Token(Token = "0x6000434")]
167 [global::Cpp2ILInjected.Address(RVA = "0x1F82F34", Offset = "0x1F82F34", Length = "0xC")]
168 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
169 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
170 [MethodImpl(256)]
171 public static float Min(float a, float b)
172 {
173 throw null;
174 }
175
176 [global::Cpp2ILInjected.Token(Token = "0x6000435")]
177 [global::Cpp2ILInjected.Address(RVA = "0x1F82F40", Offset = "0x1F82F40", Length = "0xC")]
178 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
179 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
180 [MethodImpl(256)]
181 public static int Min(int a, int b)
182 {
183 throw null;
184 }
185
186 [global::Cpp2ILInjected.Token(Token = "0x6000436")]
187 [global::Cpp2ILInjected.Address(RVA = "0x1F82F4C", Offset = "0x1F82F4C", Length = "0x44")]
188 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
189 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
190 [MethodImpl(256)]
191 public static int Min(params int[] values)
192 {
193 throw null;
194 }
195
196 [global::Cpp2ILInjected.Token(Token = "0x6000437")]
197 [global::Cpp2ILInjected.Address(RVA = "0x1F82F90", Offset = "0x1F82F90", Length = "0xC")]
198 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
199 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
200 [MethodImpl(256)]
201 public static float Max(float a, float b)
202 {
203 throw null;
204 }
205
206 [global::Cpp2ILInjected.Token(Token = "0x6000438")]
207 [global::Cpp2ILInjected.Address(RVA = "0x1F82F9C", Offset = "0x1F82F9C", Length = "0xC")]
208 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
209 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
210 [MethodImpl(256)]
211 public static int Max(int a, int b)
212 {
213 throw null;
214 }
215
216 [global::Cpp2ILInjected.Token(Token = "0x6000439")]
217 [global::Cpp2ILInjected.Address(RVA = "0x1F82FA8", Offset = "0x1F82FA8", Length = "0x70")]
218 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
219 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
220 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Pow", MemberParameters = new object[]
221 {
222 typeof(double),
223 typeof(double)
224 }, ReturnType = typeof(double))]
225 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
226 [MethodImpl(256)]
227 public static float Pow(float f, float p)
228 {
229 throw null;
230 }
231
232 [global::Cpp2ILInjected.Token(Token = "0x600043A")]
233 [global::Cpp2ILInjected.Address(RVA = "0x1F83018", Offset = "0x1F83018", Length = "0x70")]
234 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
235 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Log", MemberParameters = new object[]
237 {
238 typeof(double),
239 typeof(double)
240 }, ReturnType = typeof(double))]
241 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
242 [MethodImpl(256)]
243 public static float Log(float f, float p)
244 {
245 throw null;
246 }
247
248 [global::Cpp2ILInjected.Token(Token = "0x600043B")]
249 [global::Cpp2ILInjected.Address(RVA = "0x1F83088", Offset = "0x1F83088", Length = "0x5C")]
250 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
251 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
252 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
253 [MethodImpl(256)]
254 public static float Ceil(float f)
255 {
256 throw null;
257 }
258
259 [global::Cpp2ILInjected.Token(Token = "0x600043C")]
260 [global::Cpp2ILInjected.Address(RVA = "0x1F830E4", Offset = "0x1F830E4", Length = "0x5C")]
261 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
262 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
263 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
264 [MethodImpl(256)]
265 public static float Floor(float f)
266 {
267 throw null;
268 }
269
270 [global::Cpp2ILInjected.Token(Token = "0x600043D")]
271 [global::Cpp2ILInjected.Address(RVA = "0x1F83140", Offset = "0x1F83140", Length = "0xC8")]
272 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
273 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
274 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
275 [MethodImpl(256)]
276 public static float Round(float f)
277 {
278 throw null;
279 }
280
281 [global::Cpp2ILInjected.Token(Token = "0x600043E")]
282 [global::Cpp2ILInjected.Address(RVA = "0x1F83208", Offset = "0x1F83208", Length = "0x74")]
283 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
284 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
285 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
286 [MethodImpl(256)]
287 public static int CeilToInt(float f)
288 {
289 throw null;
290 }
291
292 [global::Cpp2ILInjected.Token(Token = "0x600043F")]
293 [global::Cpp2ILInjected.Address(RVA = "0x1F8327C", Offset = "0x1F8327C", Length = "0x74")]
294 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
295 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
296 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
297 [MethodImpl(256)]
298 public static int FloorToInt(float f)
299 {
300 throw null;
301 }
302
303 [global::Cpp2ILInjected.Token(Token = "0x6000440")]
304 [global::Cpp2ILInjected.Address(RVA = "0x1F832F0", Offset = "0x1F832F0", Length = "0xDC")]
305 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
306 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
307 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
308 [MethodImpl(256)]
309 public static int RoundToInt(float f)
310 {
311 throw null;
312 }
313
314 [global::Cpp2ILInjected.Token(Token = "0x6000441")]
315 [global::Cpp2ILInjected.Address(RVA = "0x1F833CC", Offset = "0x1F833CC", Length = "0x14")]
316 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
317 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
318 [MethodImpl(256)]
319 public static float Sign(float f)
320 {
321 throw null;
322 }
323
324 [global::Cpp2ILInjected.Token(Token = "0x6000442")]
325 [global::Cpp2ILInjected.Address(RVA = "0x1F833E0", Offset = "0x1F833E0", Length = "0x1C")]
326 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
327 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
328 [MethodImpl(256)]
329 public static float Clamp(float value, float min, float max)
330 {
331 throw null;
332 }
333
334 [global::Cpp2ILInjected.Token(Token = "0x6000443")]
335 [global::Cpp2ILInjected.Address(RVA = "0x1F833FC", Offset = "0x1F833FC", Length = "0x1C")]
336 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
337 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
338 [MethodImpl(256)]
339 public static int Clamp(int value, int min, int max)
340 {
341 throw null;
342 }
343
344 [global::Cpp2ILInjected.Token(Token = "0x6000444")]
345 [global::Cpp2ILInjected.Address(RVA = "0x1F83418", Offset = "0x1F83418", Length = "0x1C")]
346 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
347 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
348 [MethodImpl(256)]
349 public static float Clamp01(float value)
350 {
351 throw null;
352 }
353
354 [global::Cpp2ILInjected.Token(Token = "0x6000445")]
355 [global::Cpp2ILInjected.Address(RVA = "0x1F83434", Offset = "0x1F83434", Length = "0x24")]
356 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
357 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
358 [MethodImpl(256)]
359 public static float Lerp(float a, float b, float t)
360 {
361 throw null;
362 }
363
364 [global::Cpp2ILInjected.Token(Token = "0x6000446")]
365 [global::Cpp2ILInjected.Address(RVA = "0x1F83458", Offset = "0x1F83458", Length = "0x30")]
366 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
367 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
368 [MethodImpl(256)]
369 public static float MoveTowards(float current, float target, float maxDelta)
370 {
371 throw null;
372 }
373
374 [global::Cpp2ILInjected.Token(Token = "0x6000447")]
375 [global::Cpp2ILInjected.Address(RVA = "0x1F83488", Offset = "0x1F83488", Length = "0x90")]
376 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
377 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
378 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
379 [MethodImpl(256)]
380 public static bool Approximately(float a, float b)
381 {
382 throw null;
383 }
384
385 [global::Cpp2ILInjected.Token(Token = "0x6000448")]
386 [global::Cpp2ILInjected.Address(RVA = "0x1F83518", Offset = "0x1F83518", Length = "0xCC")]
387 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
388 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.ScrollRect", Member = "LateUpdate", ReturnType = typeof(void))]
389 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
390 public static float SmoothDamp(float current, float target, ref float currentVelocity, float smoothTime, [DefaultValue("Mathf.Infinity")] float maxSpeed, [DefaultValue("Time.deltaTime")] float deltaTime)
391 {
392 throw null;
393 }
394
395 [global::Cpp2ILInjected.Token(Token = "0x6000449")]
396 [global::Cpp2ILInjected.Address(RVA = "0x1F835E4", Offset = "0x1F835E4", Length = "0x28")]
397 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
398 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
399 [MethodImpl(256)]
400 public static float Repeat(float t, float length)
401 {
402 throw null;
403 }
404
405 [global::Cpp2ILInjected.Token(Token = "0x600044A")]
406 [global::Cpp2ILInjected.Address(RVA = "0x1F8360C", Offset = "0x1F8360C", Length = "0x30")]
407 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
408 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
409 [MethodImpl(256)]
410 public static float InverseLerp(float a, float b, float value)
411 {
412 throw null;
413 }
414
415 // Note: this type is marked as 'beforefieldinit'.
416 [global::Cpp2ILInjected.Token(Token = "0x600044B")]
417 [global::Cpp2ILInjected.Address(RVA = "0x1F8363C", Offset = "0x1F8363C", Length = "0x7C")]
418 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
419 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
420 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
421 static Mathf()
422 {
423 throw null;
424 }
425
426 [global::Cpp2ILInjected.Token(Token = "0x600044C")]
427 [global::Cpp2ILInjected.Address(RVA = "0x1F82BDC", Offset = "0x1F82BDC", Length = "0x4C")]
428 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
429 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
430 [MethodImpl(4096)]
431 private static extern void CorrelatedColorTemperatureToRGB_Injected(float kelvin, out Color ret);
432
433 [global::Cpp2ILInjected.Token(Token = "0x40003C9")]
434 public static readonly float Epsilon;
435 }
436}
class f__AnonymousType0<< Count > j__TPar
static int FloorToInt(float f)
Definition Mathf.cs:298
static int RoundToInt(float f)
Definition Mathf.cs:309
static float InverseLerp(float a, float b, float value)
Definition Mathf.cs:410
static float GammaToLinearSpace(float value)
static int CeilToInt(float f)
Definition Mathf.cs:287
static float Ceil(float f)
Definition Mathf.cs:254
static int Min(params int[] values)
Definition Mathf.cs:191
static int Min(int a, int b)
Definition Mathf.cs:181
static void CorrelatedColorTemperatureToRGB_Injected(float kelvin, out Color ret)
static float Atan(float f)
Definition Mathf.cs:117
static float Repeat(float t, float length)
Definition Mathf.cs:400
static float Clamp(float value, float min, float max)
Definition Mathf.cs:329
static float Sign(float f)
Definition Mathf.cs:319
static bool Approximately(float a, float b)
Definition Mathf.cs:380
static float Log(float f, float p)
Definition Mathf.cs:243
static float Tan(float f)
Definition Mathf.cs:106
static float Atan2(float y, float x)
Definition Mathf.cs:128
static float Sqrt(float f)
Definition Mathf.cs:139
static float Cos(float f)
Definition Mathf.cs:95
static Mathf()
Definition Mathf.cs:421
static int Max(int a, int b)
Definition Mathf.cs:211
static float MoveTowards(float current, float target, float maxDelta)
Definition Mathf.cs:369
static Color CorrelatedColorTemperatureToRGB(float kelvin)
Definition Mathf.cs:73
static float Pow(float f, float p)
Definition Mathf.cs:227
static float Min(float a, float b)
Definition Mathf.cs:171
static float Max(float a, float b)
Definition Mathf.cs:201
static float Abs(float f)
Definition Mathf.cs:150
static float Sin(float f)
Definition Mathf.cs:84
static float Clamp01(float value)
Definition Mathf.cs:349
static bool IsPowerOfTwo(int value)
static float Lerp(float a, float b, float t)
Definition Mathf.cs:359
static int Abs(int value)
Definition Mathf.cs:161
static int Clamp(int value, int min, int max)
Definition Mathf.cs:339
static float Floor(float f)
Definition Mathf.cs:265
static float Round(float f)
Definition Mathf.cs:276
static float SmoothDamp(float current, float target, ref float currentVelocity, float smoothTime, [DefaultValue("Mathf.Infinity")] float maxSpeed, [DefaultValue("Time.deltaTime")] float deltaTime)
Definition Mathf.cs:390
static readonly float Epsilon
Definition Mathf.cs:434