A game about forced loneliness, made by TACStudios
1//------------------------------------------------------------------------------
2// <auto-generated>
3// This code was generated by a tool.
4//
5// Changes to this file may cause incorrect behavior and will be lost if
6// the code is regenerated. To update the generation of this file, modify and re-run Unity.Mathematics.CodeGen.
7// </auto-generated>
8//------------------------------------------------------------------------------
9using System;
10using System.Runtime.CompilerServices;
11using System.Runtime.InteropServices;
12using System.Diagnostics;
13using Unity.IL2CPP.CompilerServices;
14
15#pragma warning disable 0660, 0661
16
17namespace Unity.Mathematics
18{
19 /// <summary>A 4 component vector of bools.</summary>
20 [DebuggerTypeProxy(typeof(bool4.DebuggerProxy))]
21 [System.Serializable]
22 [Il2CppEagerStaticClassConstruction]
23 public partial struct bool4 : System.IEquatable<bool4>
24 {
25 /// <summary>x component of the vector.</summary>
26 [MarshalAs(UnmanagedType.U1)]
27 public bool x;
28 /// <summary>y component of the vector.</summary>
29 [MarshalAs(UnmanagedType.U1)]
30 public bool y;
31 /// <summary>z component of the vector.</summary>
32 [MarshalAs(UnmanagedType.U1)]
33 public bool z;
34 /// <summary>w component of the vector.</summary>
35 [MarshalAs(UnmanagedType.U1)]
36 public bool w;
37
38
39 /// <summary>Constructs a bool4 vector from four bool values.</summary>
40 /// <param name="x">The constructed vector's x component will be set to this value.</param>
41 /// <param name="y">The constructed vector's y component will be set to this value.</param>
42 /// <param name="z">The constructed vector's z component will be set to this value.</param>
43 /// <param name="w">The constructed vector's w component will be set to this value.</param>
44 [MethodImpl(MethodImplOptions.AggressiveInlining)]
45 public bool4(bool x, bool y, bool z, bool w)
46 {
47 this.x = x;
48 this.y = y;
49 this.z = z;
50 this.w = w;
51 }
52
53 /// <summary>Constructs a bool4 vector from two bool values and a bool2 vector.</summary>
54 /// <param name="x">The constructed vector's x component will be set to this value.</param>
55 /// <param name="y">The constructed vector's y component will be set to this value.</param>
56 /// <param name="zw">The constructed vector's zw components will be set to this value.</param>
57 [MethodImpl(MethodImplOptions.AggressiveInlining)]
58 public bool4(bool x, bool y, bool2 zw)
59 {
60 this.x = x;
61 this.y = y;
62 this.z = zw.x;
63 this.w = zw.y;
64 }
65
66 /// <summary>Constructs a bool4 vector from a bool value, a bool2 vector and a bool value.</summary>
67 /// <param name="x">The constructed vector's x component will be set to this value.</param>
68 /// <param name="yz">The constructed vector's yz components will be set to this value.</param>
69 /// <param name="w">The constructed vector's w component will be set to this value.</param>
70 [MethodImpl(MethodImplOptions.AggressiveInlining)]
71 public bool4(bool x, bool2 yz, bool w)
72 {
73 this.x = x;
74 this.y = yz.x;
75 this.z = yz.y;
76 this.w = w;
77 }
78
79 /// <summary>Constructs a bool4 vector from a bool value and a bool3 vector.</summary>
80 /// <param name="x">The constructed vector's x component will be set to this value.</param>
81 /// <param name="yzw">The constructed vector's yzw components will be set to this value.</param>
82 [MethodImpl(MethodImplOptions.AggressiveInlining)]
83 public bool4(bool x, bool3 yzw)
84 {
85 this.x = x;
86 this.y = yzw.x;
87 this.z = yzw.y;
88 this.w = yzw.z;
89 }
90
91 /// <summary>Constructs a bool4 vector from a bool2 vector and two bool values.</summary>
92 /// <param name="xy">The constructed vector's xy components will be set to this value.</param>
93 /// <param name="z">The constructed vector's z component will be set to this value.</param>
94 /// <param name="w">The constructed vector's w component will be set to this value.</param>
95 [MethodImpl(MethodImplOptions.AggressiveInlining)]
96 public bool4(bool2 xy, bool z, bool w)
97 {
98 this.x = xy.x;
99 this.y = xy.y;
100 this.z = z;
101 this.w = w;
102 }
103
104 /// <summary>Constructs a bool4 vector from two bool2 vectors.</summary>
105 /// <param name="xy">The constructed vector's xy components will be set to this value.</param>
106 /// <param name="zw">The constructed vector's zw components will be set to this value.</param>
107 [MethodImpl(MethodImplOptions.AggressiveInlining)]
108 public bool4(bool2 xy, bool2 zw)
109 {
110 this.x = xy.x;
111 this.y = xy.y;
112 this.z = zw.x;
113 this.w = zw.y;
114 }
115
116 /// <summary>Constructs a bool4 vector from a bool3 vector and a bool value.</summary>
117 /// <param name="xyz">The constructed vector's xyz components will be set to this value.</param>
118 /// <param name="w">The constructed vector's w component will be set to this value.</param>
119 [MethodImpl(MethodImplOptions.AggressiveInlining)]
120 public bool4(bool3 xyz, bool w)
121 {
122 this.x = xyz.x;
123 this.y = xyz.y;
124 this.z = xyz.z;
125 this.w = w;
126 }
127
128 /// <summary>Constructs a bool4 vector from a bool4 vector.</summary>
129 /// <param name="xyzw">The constructed vector's xyzw components will be set to this value.</param>
130 [MethodImpl(MethodImplOptions.AggressiveInlining)]
131 public bool4(bool4 xyzw)
132 {
133 this.x = xyzw.x;
134 this.y = xyzw.y;
135 this.z = xyzw.z;
136 this.w = xyzw.w;
137 }
138
139 /// <summary>Constructs a bool4 vector from a single bool value by assigning it to every component.</summary>
140 /// <param name="v">bool to convert to bool4</param>
141 [MethodImpl(MethodImplOptions.AggressiveInlining)]
142 public bool4(bool v)
143 {
144 this.x = v;
145 this.y = v;
146 this.z = v;
147 this.w = v;
148 }
149
150
151 /// <summary>Implicitly converts a single bool value to a bool4 vector by assigning it to every component.</summary>
152 /// <param name="v">bool to convert to bool4</param>
153 /// <returns>Converted value.</returns>
154 [MethodImpl(MethodImplOptions.AggressiveInlining)]
155 public static implicit operator bool4(bool v) { return new bool4(v); }
156
157
158 /// <summary>Returns the result of a componentwise equality operation on two bool4 vectors.</summary>
159 /// <param name="lhs">Left hand side bool4 to use to compute componentwise equality.</param>
160 /// <param name="rhs">Right hand side bool4 to use to compute componentwise equality.</param>
161 /// <returns>bool4 result of the componentwise equality.</returns>
162 [MethodImpl(MethodImplOptions.AggressiveInlining)]
163 public static bool4 operator == (bool4 lhs, bool4 rhs) { return new bool4 (lhs.x == rhs.x, lhs.y == rhs.y, lhs.z == rhs.z, lhs.w == rhs.w); }
164
165 /// <summary>Returns the result of a componentwise equality operation on a bool4 vector and a bool value.</summary>
166 /// <param name="lhs">Left hand side bool4 to use to compute componentwise equality.</param>
167 /// <param name="rhs">Right hand side bool to use to compute componentwise equality.</param>
168 /// <returns>bool4 result of the componentwise equality.</returns>
169 [MethodImpl(MethodImplOptions.AggressiveInlining)]
170 public static bool4 operator == (bool4 lhs, bool rhs) { return new bool4 (lhs.x == rhs, lhs.y == rhs, lhs.z == rhs, lhs.w == rhs); }
171
172 /// <summary>Returns the result of a componentwise equality operation on a bool value and a bool4 vector.</summary>
173 /// <param name="lhs">Left hand side bool to use to compute componentwise equality.</param>
174 /// <param name="rhs">Right hand side bool4 to use to compute componentwise equality.</param>
175 /// <returns>bool4 result of the componentwise equality.</returns>
176 [MethodImpl(MethodImplOptions.AggressiveInlining)]
177 public static bool4 operator == (bool lhs, bool4 rhs) { return new bool4 (lhs == rhs.x, lhs == rhs.y, lhs == rhs.z, lhs == rhs.w); }
178
179
180 /// <summary>Returns the result of a componentwise not equal operation on two bool4 vectors.</summary>
181 /// <param name="lhs">Left hand side bool4 to use to compute componentwise not equal.</param>
182 /// <param name="rhs">Right hand side bool4 to use to compute componentwise not equal.</param>
183 /// <returns>bool4 result of the componentwise not equal.</returns>
184 [MethodImpl(MethodImplOptions.AggressiveInlining)]
185 public static bool4 operator != (bool4 lhs, bool4 rhs) { return new bool4 (lhs.x != rhs.x, lhs.y != rhs.y, lhs.z != rhs.z, lhs.w != rhs.w); }
186
187 /// <summary>Returns the result of a componentwise not equal operation on a bool4 vector and a bool value.</summary>
188 /// <param name="lhs">Left hand side bool4 to use to compute componentwise not equal.</param>
189 /// <param name="rhs">Right hand side bool to use to compute componentwise not equal.</param>
190 /// <returns>bool4 result of the componentwise not equal.</returns>
191 [MethodImpl(MethodImplOptions.AggressiveInlining)]
192 public static bool4 operator != (bool4 lhs, bool rhs) { return new bool4 (lhs.x != rhs, lhs.y != rhs, lhs.z != rhs, lhs.w != rhs); }
193
194 /// <summary>Returns the result of a componentwise not equal operation on a bool value and a bool4 vector.</summary>
195 /// <param name="lhs">Left hand side bool to use to compute componentwise not equal.</param>
196 /// <param name="rhs">Right hand side bool4 to use to compute componentwise not equal.</param>
197 /// <returns>bool4 result of the componentwise not equal.</returns>
198 [MethodImpl(MethodImplOptions.AggressiveInlining)]
199 public static bool4 operator != (bool lhs, bool4 rhs) { return new bool4 (lhs != rhs.x, lhs != rhs.y, lhs != rhs.z, lhs != rhs.w); }
200
201
202 /// <summary>Returns the result of a componentwise not operation on a bool4 vector.</summary>
203 /// <param name="val">Value to use when computing the componentwise not.</param>
204 /// <returns>bool4 result of the componentwise not.</returns>
205 [MethodImpl(MethodImplOptions.AggressiveInlining)]
206 public static bool4 operator ! (bool4 val) { return new bool4 (!val.x, !val.y, !val.z, !val.w); }
207
208
209 /// <summary>Returns the result of a componentwise bitwise and operation on two bool4 vectors.</summary>
210 /// <param name="lhs">Left hand side bool4 to use to compute componentwise bitwise and.</param>
211 /// <param name="rhs">Right hand side bool4 to use to compute componentwise bitwise and.</param>
212 /// <returns>bool4 result of the componentwise bitwise and.</returns>
213 [MethodImpl(MethodImplOptions.AggressiveInlining)]
214 public static bool4 operator & (bool4 lhs, bool4 rhs) { return new bool4 (lhs.x & rhs.x, lhs.y & rhs.y, lhs.z & rhs.z, lhs.w & rhs.w); }
215
216 /// <summary>Returns the result of a componentwise bitwise and operation on a bool4 vector and a bool value.</summary>
217 /// <param name="lhs">Left hand side bool4 to use to compute componentwise bitwise and.</param>
218 /// <param name="rhs">Right hand side bool to use to compute componentwise bitwise and.</param>
219 /// <returns>bool4 result of the componentwise bitwise and.</returns>
220 [MethodImpl(MethodImplOptions.AggressiveInlining)]
221 public static bool4 operator & (bool4 lhs, bool rhs) { return new bool4 (lhs.x & rhs, lhs.y & rhs, lhs.z & rhs, lhs.w & rhs); }
222
223 /// <summary>Returns the result of a componentwise bitwise and operation on a bool value and a bool4 vector.</summary>
224 /// <param name="lhs">Left hand side bool to use to compute componentwise bitwise and.</param>
225 /// <param name="rhs">Right hand side bool4 to use to compute componentwise bitwise and.</param>
226 /// <returns>bool4 result of the componentwise bitwise and.</returns>
227 [MethodImpl(MethodImplOptions.AggressiveInlining)]
228 public static bool4 operator & (bool lhs, bool4 rhs) { return new bool4 (lhs & rhs.x, lhs & rhs.y, lhs & rhs.z, lhs & rhs.w); }
229
230
231 /// <summary>Returns the result of a componentwise bitwise or operation on two bool4 vectors.</summary>
232 /// <param name="lhs">Left hand side bool4 to use to compute componentwise bitwise or.</param>
233 /// <param name="rhs">Right hand side bool4 to use to compute componentwise bitwise or.</param>
234 /// <returns>bool4 result of the componentwise bitwise or.</returns>
235 [MethodImpl(MethodImplOptions.AggressiveInlining)]
236 public static bool4 operator | (bool4 lhs, bool4 rhs) { return new bool4 (lhs.x | rhs.x, lhs.y | rhs.y, lhs.z | rhs.z, lhs.w | rhs.w); }
237
238 /// <summary>Returns the result of a componentwise bitwise or operation on a bool4 vector and a bool value.</summary>
239 /// <param name="lhs">Left hand side bool4 to use to compute componentwise bitwise or.</param>
240 /// <param name="rhs">Right hand side bool to use to compute componentwise bitwise or.</param>
241 /// <returns>bool4 result of the componentwise bitwise or.</returns>
242 [MethodImpl(MethodImplOptions.AggressiveInlining)]
243 public static bool4 operator | (bool4 lhs, bool rhs) { return new bool4 (lhs.x | rhs, lhs.y | rhs, lhs.z | rhs, lhs.w | rhs); }
244
245 /// <summary>Returns the result of a componentwise bitwise or operation on a bool value and a bool4 vector.</summary>
246 /// <param name="lhs">Left hand side bool to use to compute componentwise bitwise or.</param>
247 /// <param name="rhs">Right hand side bool4 to use to compute componentwise bitwise or.</param>
248 /// <returns>bool4 result of the componentwise bitwise or.</returns>
249 [MethodImpl(MethodImplOptions.AggressiveInlining)]
250 public static bool4 operator | (bool lhs, bool4 rhs) { return new bool4 (lhs | rhs.x, lhs | rhs.y, lhs | rhs.z, lhs | rhs.w); }
251
252
253 /// <summary>Returns the result of a componentwise bitwise exclusive or operation on two bool4 vectors.</summary>
254 /// <param name="lhs">Left hand side bool4 to use to compute componentwise bitwise exclusive or.</param>
255 /// <param name="rhs">Right hand side bool4 to use to compute componentwise bitwise exclusive or.</param>
256 /// <returns>bool4 result of the componentwise bitwise exclusive or.</returns>
257 [MethodImpl(MethodImplOptions.AggressiveInlining)]
258 public static bool4 operator ^ (bool4 lhs, bool4 rhs) { return new bool4 (lhs.x ^ rhs.x, lhs.y ^ rhs.y, lhs.z ^ rhs.z, lhs.w ^ rhs.w); }
259
260 /// <summary>Returns the result of a componentwise bitwise exclusive or operation on a bool4 vector and a bool value.</summary>
261 /// <param name="lhs">Left hand side bool4 to use to compute componentwise bitwise exclusive or.</param>
262 /// <param name="rhs">Right hand side bool to use to compute componentwise bitwise exclusive or.</param>
263 /// <returns>bool4 result of the componentwise bitwise exclusive or.</returns>
264 [MethodImpl(MethodImplOptions.AggressiveInlining)]
265 public static bool4 operator ^ (bool4 lhs, bool rhs) { return new bool4 (lhs.x ^ rhs, lhs.y ^ rhs, lhs.z ^ rhs, lhs.w ^ rhs); }
266
267 /// <summary>Returns the result of a componentwise bitwise exclusive or operation on a bool value and a bool4 vector.</summary>
268 /// <param name="lhs">Left hand side bool to use to compute componentwise bitwise exclusive or.</param>
269 /// <param name="rhs">Right hand side bool4 to use to compute componentwise bitwise exclusive or.</param>
270 /// <returns>bool4 result of the componentwise bitwise exclusive or.</returns>
271 [MethodImpl(MethodImplOptions.AggressiveInlining)]
272 public static bool4 operator ^ (bool lhs, bool4 rhs) { return new bool4 (lhs ^ rhs.x, lhs ^ rhs.y, lhs ^ rhs.z, lhs ^ rhs.w); }
273
274
275
276
277 /// <summary>Swizzles the vector.</summary>
278 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
279 public bool4 xxxx
280 {
281 [MethodImpl(MethodImplOptions.AggressiveInlining)]
282 get { return new bool4(x, x, x, x); }
283 }
284
285
286 /// <summary>Swizzles the vector.</summary>
287 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
288 public bool4 xxxy
289 {
290 [MethodImpl(MethodImplOptions.AggressiveInlining)]
291 get { return new bool4(x, x, x, y); }
292 }
293
294
295 /// <summary>Swizzles the vector.</summary>
296 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
297 public bool4 xxxz
298 {
299 [MethodImpl(MethodImplOptions.AggressiveInlining)]
300 get { return new bool4(x, x, x, z); }
301 }
302
303
304 /// <summary>Swizzles the vector.</summary>
305 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
306 public bool4 xxxw
307 {
308 [MethodImpl(MethodImplOptions.AggressiveInlining)]
309 get { return new bool4(x, x, x, w); }
310 }
311
312
313 /// <summary>Swizzles the vector.</summary>
314 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
315 public bool4 xxyx
316 {
317 [MethodImpl(MethodImplOptions.AggressiveInlining)]
318 get { return new bool4(x, x, y, x); }
319 }
320
321
322 /// <summary>Swizzles the vector.</summary>
323 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
324 public bool4 xxyy
325 {
326 [MethodImpl(MethodImplOptions.AggressiveInlining)]
327 get { return new bool4(x, x, y, y); }
328 }
329
330
331 /// <summary>Swizzles the vector.</summary>
332 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
333 public bool4 xxyz
334 {
335 [MethodImpl(MethodImplOptions.AggressiveInlining)]
336 get { return new bool4(x, x, y, z); }
337 }
338
339
340 /// <summary>Swizzles the vector.</summary>
341 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
342 public bool4 xxyw
343 {
344 [MethodImpl(MethodImplOptions.AggressiveInlining)]
345 get { return new bool4(x, x, y, w); }
346 }
347
348
349 /// <summary>Swizzles the vector.</summary>
350 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
351 public bool4 xxzx
352 {
353 [MethodImpl(MethodImplOptions.AggressiveInlining)]
354 get { return new bool4(x, x, z, x); }
355 }
356
357
358 /// <summary>Swizzles the vector.</summary>
359 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
360 public bool4 xxzy
361 {
362 [MethodImpl(MethodImplOptions.AggressiveInlining)]
363 get { return new bool4(x, x, z, y); }
364 }
365
366
367 /// <summary>Swizzles the vector.</summary>
368 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
369 public bool4 xxzz
370 {
371 [MethodImpl(MethodImplOptions.AggressiveInlining)]
372 get { return new bool4(x, x, z, z); }
373 }
374
375
376 /// <summary>Swizzles the vector.</summary>
377 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
378 public bool4 xxzw
379 {
380 [MethodImpl(MethodImplOptions.AggressiveInlining)]
381 get { return new bool4(x, x, z, w); }
382 }
383
384
385 /// <summary>Swizzles the vector.</summary>
386 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
387 public bool4 xxwx
388 {
389 [MethodImpl(MethodImplOptions.AggressiveInlining)]
390 get { return new bool4(x, x, w, x); }
391 }
392
393
394 /// <summary>Swizzles the vector.</summary>
395 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
396 public bool4 xxwy
397 {
398 [MethodImpl(MethodImplOptions.AggressiveInlining)]
399 get { return new bool4(x, x, w, y); }
400 }
401
402
403 /// <summary>Swizzles the vector.</summary>
404 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
405 public bool4 xxwz
406 {
407 [MethodImpl(MethodImplOptions.AggressiveInlining)]
408 get { return new bool4(x, x, w, z); }
409 }
410
411
412 /// <summary>Swizzles the vector.</summary>
413 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
414 public bool4 xxww
415 {
416 [MethodImpl(MethodImplOptions.AggressiveInlining)]
417 get { return new bool4(x, x, w, w); }
418 }
419
420
421 /// <summary>Swizzles the vector.</summary>
422 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
423 public bool4 xyxx
424 {
425 [MethodImpl(MethodImplOptions.AggressiveInlining)]
426 get { return new bool4(x, y, x, x); }
427 }
428
429
430 /// <summary>Swizzles the vector.</summary>
431 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
432 public bool4 xyxy
433 {
434 [MethodImpl(MethodImplOptions.AggressiveInlining)]
435 get { return new bool4(x, y, x, y); }
436 }
437
438
439 /// <summary>Swizzles the vector.</summary>
440 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
441 public bool4 xyxz
442 {
443 [MethodImpl(MethodImplOptions.AggressiveInlining)]
444 get { return new bool4(x, y, x, z); }
445 }
446
447
448 /// <summary>Swizzles the vector.</summary>
449 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
450 public bool4 xyxw
451 {
452 [MethodImpl(MethodImplOptions.AggressiveInlining)]
453 get { return new bool4(x, y, x, w); }
454 }
455
456
457 /// <summary>Swizzles the vector.</summary>
458 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
459 public bool4 xyyx
460 {
461 [MethodImpl(MethodImplOptions.AggressiveInlining)]
462 get { return new bool4(x, y, y, x); }
463 }
464
465
466 /// <summary>Swizzles the vector.</summary>
467 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
468 public bool4 xyyy
469 {
470 [MethodImpl(MethodImplOptions.AggressiveInlining)]
471 get { return new bool4(x, y, y, y); }
472 }
473
474
475 /// <summary>Swizzles the vector.</summary>
476 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
477 public bool4 xyyz
478 {
479 [MethodImpl(MethodImplOptions.AggressiveInlining)]
480 get { return new bool4(x, y, y, z); }
481 }
482
483
484 /// <summary>Swizzles the vector.</summary>
485 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
486 public bool4 xyyw
487 {
488 [MethodImpl(MethodImplOptions.AggressiveInlining)]
489 get { return new bool4(x, y, y, w); }
490 }
491
492
493 /// <summary>Swizzles the vector.</summary>
494 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
495 public bool4 xyzx
496 {
497 [MethodImpl(MethodImplOptions.AggressiveInlining)]
498 get { return new bool4(x, y, z, x); }
499 }
500
501
502 /// <summary>Swizzles the vector.</summary>
503 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
504 public bool4 xyzy
505 {
506 [MethodImpl(MethodImplOptions.AggressiveInlining)]
507 get { return new bool4(x, y, z, y); }
508 }
509
510
511 /// <summary>Swizzles the vector.</summary>
512 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
513 public bool4 xyzz
514 {
515 [MethodImpl(MethodImplOptions.AggressiveInlining)]
516 get { return new bool4(x, y, z, z); }
517 }
518
519
520 /// <summary>Swizzles the vector.</summary>
521 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
522 public bool4 xyzw
523 {
524 [MethodImpl(MethodImplOptions.AggressiveInlining)]
525 get { return new bool4(x, y, z, w); }
526 [MethodImpl(MethodImplOptions.AggressiveInlining)]
527 set { x = value.x; y = value.y; z = value.z; w = value.w; }
528 }
529
530
531 /// <summary>Swizzles the vector.</summary>
532 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
533 public bool4 xywx
534 {
535 [MethodImpl(MethodImplOptions.AggressiveInlining)]
536 get { return new bool4(x, y, w, x); }
537 }
538
539
540 /// <summary>Swizzles the vector.</summary>
541 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
542 public bool4 xywy
543 {
544 [MethodImpl(MethodImplOptions.AggressiveInlining)]
545 get { return new bool4(x, y, w, y); }
546 }
547
548
549 /// <summary>Swizzles the vector.</summary>
550 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
551 public bool4 xywz
552 {
553 [MethodImpl(MethodImplOptions.AggressiveInlining)]
554 get { return new bool4(x, y, w, z); }
555 [MethodImpl(MethodImplOptions.AggressiveInlining)]
556 set { x = value.x; y = value.y; w = value.z; z = value.w; }
557 }
558
559
560 /// <summary>Swizzles the vector.</summary>
561 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
562 public bool4 xyww
563 {
564 [MethodImpl(MethodImplOptions.AggressiveInlining)]
565 get { return new bool4(x, y, w, w); }
566 }
567
568
569 /// <summary>Swizzles the vector.</summary>
570 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
571 public bool4 xzxx
572 {
573 [MethodImpl(MethodImplOptions.AggressiveInlining)]
574 get { return new bool4(x, z, x, x); }
575 }
576
577
578 /// <summary>Swizzles the vector.</summary>
579 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
580 public bool4 xzxy
581 {
582 [MethodImpl(MethodImplOptions.AggressiveInlining)]
583 get { return new bool4(x, z, x, y); }
584 }
585
586
587 /// <summary>Swizzles the vector.</summary>
588 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
589 public bool4 xzxz
590 {
591 [MethodImpl(MethodImplOptions.AggressiveInlining)]
592 get { return new bool4(x, z, x, z); }
593 }
594
595
596 /// <summary>Swizzles the vector.</summary>
597 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
598 public bool4 xzxw
599 {
600 [MethodImpl(MethodImplOptions.AggressiveInlining)]
601 get { return new bool4(x, z, x, w); }
602 }
603
604
605 /// <summary>Swizzles the vector.</summary>
606 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
607 public bool4 xzyx
608 {
609 [MethodImpl(MethodImplOptions.AggressiveInlining)]
610 get { return new bool4(x, z, y, x); }
611 }
612
613
614 /// <summary>Swizzles the vector.</summary>
615 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
616 public bool4 xzyy
617 {
618 [MethodImpl(MethodImplOptions.AggressiveInlining)]
619 get { return new bool4(x, z, y, y); }
620 }
621
622
623 /// <summary>Swizzles the vector.</summary>
624 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
625 public bool4 xzyz
626 {
627 [MethodImpl(MethodImplOptions.AggressiveInlining)]
628 get { return new bool4(x, z, y, z); }
629 }
630
631
632 /// <summary>Swizzles the vector.</summary>
633 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
634 public bool4 xzyw
635 {
636 [MethodImpl(MethodImplOptions.AggressiveInlining)]
637 get { return new bool4(x, z, y, w); }
638 [MethodImpl(MethodImplOptions.AggressiveInlining)]
639 set { x = value.x; z = value.y; y = value.z; w = value.w; }
640 }
641
642
643 /// <summary>Swizzles the vector.</summary>
644 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
645 public bool4 xzzx
646 {
647 [MethodImpl(MethodImplOptions.AggressiveInlining)]
648 get { return new bool4(x, z, z, x); }
649 }
650
651
652 /// <summary>Swizzles the vector.</summary>
653 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
654 public bool4 xzzy
655 {
656 [MethodImpl(MethodImplOptions.AggressiveInlining)]
657 get { return new bool4(x, z, z, y); }
658 }
659
660
661 /// <summary>Swizzles the vector.</summary>
662 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
663 public bool4 xzzz
664 {
665 [MethodImpl(MethodImplOptions.AggressiveInlining)]
666 get { return new bool4(x, z, z, z); }
667 }
668
669
670 /// <summary>Swizzles the vector.</summary>
671 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
672 public bool4 xzzw
673 {
674 [MethodImpl(MethodImplOptions.AggressiveInlining)]
675 get { return new bool4(x, z, z, w); }
676 }
677
678
679 /// <summary>Swizzles the vector.</summary>
680 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
681 public bool4 xzwx
682 {
683 [MethodImpl(MethodImplOptions.AggressiveInlining)]
684 get { return new bool4(x, z, w, x); }
685 }
686
687
688 /// <summary>Swizzles the vector.</summary>
689 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
690 public bool4 xzwy
691 {
692 [MethodImpl(MethodImplOptions.AggressiveInlining)]
693 get { return new bool4(x, z, w, y); }
694 [MethodImpl(MethodImplOptions.AggressiveInlining)]
695 set { x = value.x; z = value.y; w = value.z; y = value.w; }
696 }
697
698
699 /// <summary>Swizzles the vector.</summary>
700 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
701 public bool4 xzwz
702 {
703 [MethodImpl(MethodImplOptions.AggressiveInlining)]
704 get { return new bool4(x, z, w, z); }
705 }
706
707
708 /// <summary>Swizzles the vector.</summary>
709 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
710 public bool4 xzww
711 {
712 [MethodImpl(MethodImplOptions.AggressiveInlining)]
713 get { return new bool4(x, z, w, w); }
714 }
715
716
717 /// <summary>Swizzles the vector.</summary>
718 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
719 public bool4 xwxx
720 {
721 [MethodImpl(MethodImplOptions.AggressiveInlining)]
722 get { return new bool4(x, w, x, x); }
723 }
724
725
726 /// <summary>Swizzles the vector.</summary>
727 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
728 public bool4 xwxy
729 {
730 [MethodImpl(MethodImplOptions.AggressiveInlining)]
731 get { return new bool4(x, w, x, y); }
732 }
733
734
735 /// <summary>Swizzles the vector.</summary>
736 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
737 public bool4 xwxz
738 {
739 [MethodImpl(MethodImplOptions.AggressiveInlining)]
740 get { return new bool4(x, w, x, z); }
741 }
742
743
744 /// <summary>Swizzles the vector.</summary>
745 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
746 public bool4 xwxw
747 {
748 [MethodImpl(MethodImplOptions.AggressiveInlining)]
749 get { return new bool4(x, w, x, w); }
750 }
751
752
753 /// <summary>Swizzles the vector.</summary>
754 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
755 public bool4 xwyx
756 {
757 [MethodImpl(MethodImplOptions.AggressiveInlining)]
758 get { return new bool4(x, w, y, x); }
759 }
760
761
762 /// <summary>Swizzles the vector.</summary>
763 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
764 public bool4 xwyy
765 {
766 [MethodImpl(MethodImplOptions.AggressiveInlining)]
767 get { return new bool4(x, w, y, y); }
768 }
769
770
771 /// <summary>Swizzles the vector.</summary>
772 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
773 public bool4 xwyz
774 {
775 [MethodImpl(MethodImplOptions.AggressiveInlining)]
776 get { return new bool4(x, w, y, z); }
777 [MethodImpl(MethodImplOptions.AggressiveInlining)]
778 set { x = value.x; w = value.y; y = value.z; z = value.w; }
779 }
780
781
782 /// <summary>Swizzles the vector.</summary>
783 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
784 public bool4 xwyw
785 {
786 [MethodImpl(MethodImplOptions.AggressiveInlining)]
787 get { return new bool4(x, w, y, w); }
788 }
789
790
791 /// <summary>Swizzles the vector.</summary>
792 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
793 public bool4 xwzx
794 {
795 [MethodImpl(MethodImplOptions.AggressiveInlining)]
796 get { return new bool4(x, w, z, x); }
797 }
798
799
800 /// <summary>Swizzles the vector.</summary>
801 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
802 public bool4 xwzy
803 {
804 [MethodImpl(MethodImplOptions.AggressiveInlining)]
805 get { return new bool4(x, w, z, y); }
806 [MethodImpl(MethodImplOptions.AggressiveInlining)]
807 set { x = value.x; w = value.y; z = value.z; y = value.w; }
808 }
809
810
811 /// <summary>Swizzles the vector.</summary>
812 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
813 public bool4 xwzz
814 {
815 [MethodImpl(MethodImplOptions.AggressiveInlining)]
816 get { return new bool4(x, w, z, z); }
817 }
818
819
820 /// <summary>Swizzles the vector.</summary>
821 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
822 public bool4 xwzw
823 {
824 [MethodImpl(MethodImplOptions.AggressiveInlining)]
825 get { return new bool4(x, w, z, w); }
826 }
827
828
829 /// <summary>Swizzles the vector.</summary>
830 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
831 public bool4 xwwx
832 {
833 [MethodImpl(MethodImplOptions.AggressiveInlining)]
834 get { return new bool4(x, w, w, x); }
835 }
836
837
838 /// <summary>Swizzles the vector.</summary>
839 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
840 public bool4 xwwy
841 {
842 [MethodImpl(MethodImplOptions.AggressiveInlining)]
843 get { return new bool4(x, w, w, y); }
844 }
845
846
847 /// <summary>Swizzles the vector.</summary>
848 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
849 public bool4 xwwz
850 {
851 [MethodImpl(MethodImplOptions.AggressiveInlining)]
852 get { return new bool4(x, w, w, z); }
853 }
854
855
856 /// <summary>Swizzles the vector.</summary>
857 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
858 public bool4 xwww
859 {
860 [MethodImpl(MethodImplOptions.AggressiveInlining)]
861 get { return new bool4(x, w, w, w); }
862 }
863
864
865 /// <summary>Swizzles the vector.</summary>
866 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
867 public bool4 yxxx
868 {
869 [MethodImpl(MethodImplOptions.AggressiveInlining)]
870 get { return new bool4(y, x, x, x); }
871 }
872
873
874 /// <summary>Swizzles the vector.</summary>
875 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
876 public bool4 yxxy
877 {
878 [MethodImpl(MethodImplOptions.AggressiveInlining)]
879 get { return new bool4(y, x, x, y); }
880 }
881
882
883 /// <summary>Swizzles the vector.</summary>
884 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
885 public bool4 yxxz
886 {
887 [MethodImpl(MethodImplOptions.AggressiveInlining)]
888 get { return new bool4(y, x, x, z); }
889 }
890
891
892 /// <summary>Swizzles the vector.</summary>
893 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
894 public bool4 yxxw
895 {
896 [MethodImpl(MethodImplOptions.AggressiveInlining)]
897 get { return new bool4(y, x, x, w); }
898 }
899
900
901 /// <summary>Swizzles the vector.</summary>
902 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
903 public bool4 yxyx
904 {
905 [MethodImpl(MethodImplOptions.AggressiveInlining)]
906 get { return new bool4(y, x, y, x); }
907 }
908
909
910 /// <summary>Swizzles the vector.</summary>
911 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
912 public bool4 yxyy
913 {
914 [MethodImpl(MethodImplOptions.AggressiveInlining)]
915 get { return new bool4(y, x, y, y); }
916 }
917
918
919 /// <summary>Swizzles the vector.</summary>
920 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
921 public bool4 yxyz
922 {
923 [MethodImpl(MethodImplOptions.AggressiveInlining)]
924 get { return new bool4(y, x, y, z); }
925 }
926
927
928 /// <summary>Swizzles the vector.</summary>
929 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
930 public bool4 yxyw
931 {
932 [MethodImpl(MethodImplOptions.AggressiveInlining)]
933 get { return new bool4(y, x, y, w); }
934 }
935
936
937 /// <summary>Swizzles the vector.</summary>
938 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
939 public bool4 yxzx
940 {
941 [MethodImpl(MethodImplOptions.AggressiveInlining)]
942 get { return new bool4(y, x, z, x); }
943 }
944
945
946 /// <summary>Swizzles the vector.</summary>
947 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
948 public bool4 yxzy
949 {
950 [MethodImpl(MethodImplOptions.AggressiveInlining)]
951 get { return new bool4(y, x, z, y); }
952 }
953
954
955 /// <summary>Swizzles the vector.</summary>
956 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
957 public bool4 yxzz
958 {
959 [MethodImpl(MethodImplOptions.AggressiveInlining)]
960 get { return new bool4(y, x, z, z); }
961 }
962
963
964 /// <summary>Swizzles the vector.</summary>
965 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
966 public bool4 yxzw
967 {
968 [MethodImpl(MethodImplOptions.AggressiveInlining)]
969 get { return new bool4(y, x, z, w); }
970 [MethodImpl(MethodImplOptions.AggressiveInlining)]
971 set { y = value.x; x = value.y; z = value.z; w = value.w; }
972 }
973
974
975 /// <summary>Swizzles the vector.</summary>
976 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
977 public bool4 yxwx
978 {
979 [MethodImpl(MethodImplOptions.AggressiveInlining)]
980 get { return new bool4(y, x, w, x); }
981 }
982
983
984 /// <summary>Swizzles the vector.</summary>
985 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
986 public bool4 yxwy
987 {
988 [MethodImpl(MethodImplOptions.AggressiveInlining)]
989 get { return new bool4(y, x, w, y); }
990 }
991
992
993 /// <summary>Swizzles the vector.</summary>
994 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
995 public bool4 yxwz
996 {
997 [MethodImpl(MethodImplOptions.AggressiveInlining)]
998 get { return new bool4(y, x, w, z); }
999 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1000 set { y = value.x; x = value.y; w = value.z; z = value.w; }
1001 }
1002
1003
1004 /// <summary>Swizzles the vector.</summary>
1005 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1006 public bool4 yxww
1007 {
1008 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1009 get { return new bool4(y, x, w, w); }
1010 }
1011
1012
1013 /// <summary>Swizzles the vector.</summary>
1014 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1015 public bool4 yyxx
1016 {
1017 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1018 get { return new bool4(y, y, x, x); }
1019 }
1020
1021
1022 /// <summary>Swizzles the vector.</summary>
1023 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1024 public bool4 yyxy
1025 {
1026 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1027 get { return new bool4(y, y, x, y); }
1028 }
1029
1030
1031 /// <summary>Swizzles the vector.</summary>
1032 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1033 public bool4 yyxz
1034 {
1035 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1036 get { return new bool4(y, y, x, z); }
1037 }
1038
1039
1040 /// <summary>Swizzles the vector.</summary>
1041 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1042 public bool4 yyxw
1043 {
1044 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1045 get { return new bool4(y, y, x, w); }
1046 }
1047
1048
1049 /// <summary>Swizzles the vector.</summary>
1050 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1051 public bool4 yyyx
1052 {
1053 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1054 get { return new bool4(y, y, y, x); }
1055 }
1056
1057
1058 /// <summary>Swizzles the vector.</summary>
1059 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1060 public bool4 yyyy
1061 {
1062 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1063 get { return new bool4(y, y, y, y); }
1064 }
1065
1066
1067 /// <summary>Swizzles the vector.</summary>
1068 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1069 public bool4 yyyz
1070 {
1071 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1072 get { return new bool4(y, y, y, z); }
1073 }
1074
1075
1076 /// <summary>Swizzles the vector.</summary>
1077 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1078 public bool4 yyyw
1079 {
1080 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1081 get { return new bool4(y, y, y, w); }
1082 }
1083
1084
1085 /// <summary>Swizzles the vector.</summary>
1086 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1087 public bool4 yyzx
1088 {
1089 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1090 get { return new bool4(y, y, z, x); }
1091 }
1092
1093
1094 /// <summary>Swizzles the vector.</summary>
1095 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1096 public bool4 yyzy
1097 {
1098 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1099 get { return new bool4(y, y, z, y); }
1100 }
1101
1102
1103 /// <summary>Swizzles the vector.</summary>
1104 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1105 public bool4 yyzz
1106 {
1107 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1108 get { return new bool4(y, y, z, z); }
1109 }
1110
1111
1112 /// <summary>Swizzles the vector.</summary>
1113 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1114 public bool4 yyzw
1115 {
1116 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1117 get { return new bool4(y, y, z, w); }
1118 }
1119
1120
1121 /// <summary>Swizzles the vector.</summary>
1122 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1123 public bool4 yywx
1124 {
1125 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1126 get { return new bool4(y, y, w, x); }
1127 }
1128
1129
1130 /// <summary>Swizzles the vector.</summary>
1131 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1132 public bool4 yywy
1133 {
1134 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1135 get { return new bool4(y, y, w, y); }
1136 }
1137
1138
1139 /// <summary>Swizzles the vector.</summary>
1140 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1141 public bool4 yywz
1142 {
1143 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1144 get { return new bool4(y, y, w, z); }
1145 }
1146
1147
1148 /// <summary>Swizzles the vector.</summary>
1149 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1150 public bool4 yyww
1151 {
1152 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1153 get { return new bool4(y, y, w, w); }
1154 }
1155
1156
1157 /// <summary>Swizzles the vector.</summary>
1158 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1159 public bool4 yzxx
1160 {
1161 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1162 get { return new bool4(y, z, x, x); }
1163 }
1164
1165
1166 /// <summary>Swizzles the vector.</summary>
1167 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1168 public bool4 yzxy
1169 {
1170 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1171 get { return new bool4(y, z, x, y); }
1172 }
1173
1174
1175 /// <summary>Swizzles the vector.</summary>
1176 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1177 public bool4 yzxz
1178 {
1179 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1180 get { return new bool4(y, z, x, z); }
1181 }
1182
1183
1184 /// <summary>Swizzles the vector.</summary>
1185 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1186 public bool4 yzxw
1187 {
1188 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1189 get { return new bool4(y, z, x, w); }
1190 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1191 set { y = value.x; z = value.y; x = value.z; w = value.w; }
1192 }
1193
1194
1195 /// <summary>Swizzles the vector.</summary>
1196 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1197 public bool4 yzyx
1198 {
1199 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1200 get { return new bool4(y, z, y, x); }
1201 }
1202
1203
1204 /// <summary>Swizzles the vector.</summary>
1205 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1206 public bool4 yzyy
1207 {
1208 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1209 get { return new bool4(y, z, y, y); }
1210 }
1211
1212
1213 /// <summary>Swizzles the vector.</summary>
1214 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1215 public bool4 yzyz
1216 {
1217 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1218 get { return new bool4(y, z, y, z); }
1219 }
1220
1221
1222 /// <summary>Swizzles the vector.</summary>
1223 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1224 public bool4 yzyw
1225 {
1226 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1227 get { return new bool4(y, z, y, w); }
1228 }
1229
1230
1231 /// <summary>Swizzles the vector.</summary>
1232 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1233 public bool4 yzzx
1234 {
1235 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1236 get { return new bool4(y, z, z, x); }
1237 }
1238
1239
1240 /// <summary>Swizzles the vector.</summary>
1241 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1242 public bool4 yzzy
1243 {
1244 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1245 get { return new bool4(y, z, z, y); }
1246 }
1247
1248
1249 /// <summary>Swizzles the vector.</summary>
1250 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1251 public bool4 yzzz
1252 {
1253 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1254 get { return new bool4(y, z, z, z); }
1255 }
1256
1257
1258 /// <summary>Swizzles the vector.</summary>
1259 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1260 public bool4 yzzw
1261 {
1262 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1263 get { return new bool4(y, z, z, w); }
1264 }
1265
1266
1267 /// <summary>Swizzles the vector.</summary>
1268 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1269 public bool4 yzwx
1270 {
1271 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1272 get { return new bool4(y, z, w, x); }
1273 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1274 set { y = value.x; z = value.y; w = value.z; x = value.w; }
1275 }
1276
1277
1278 /// <summary>Swizzles the vector.</summary>
1279 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1280 public bool4 yzwy
1281 {
1282 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1283 get { return new bool4(y, z, w, y); }
1284 }
1285
1286
1287 /// <summary>Swizzles the vector.</summary>
1288 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1289 public bool4 yzwz
1290 {
1291 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1292 get { return new bool4(y, z, w, z); }
1293 }
1294
1295
1296 /// <summary>Swizzles the vector.</summary>
1297 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1298 public bool4 yzww
1299 {
1300 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1301 get { return new bool4(y, z, w, w); }
1302 }
1303
1304
1305 /// <summary>Swizzles the vector.</summary>
1306 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1307 public bool4 ywxx
1308 {
1309 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1310 get { return new bool4(y, w, x, x); }
1311 }
1312
1313
1314 /// <summary>Swizzles the vector.</summary>
1315 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1316 public bool4 ywxy
1317 {
1318 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1319 get { return new bool4(y, w, x, y); }
1320 }
1321
1322
1323 /// <summary>Swizzles the vector.</summary>
1324 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1325 public bool4 ywxz
1326 {
1327 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1328 get { return new bool4(y, w, x, z); }
1329 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1330 set { y = value.x; w = value.y; x = value.z; z = value.w; }
1331 }
1332
1333
1334 /// <summary>Swizzles the vector.</summary>
1335 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1336 public bool4 ywxw
1337 {
1338 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1339 get { return new bool4(y, w, x, w); }
1340 }
1341
1342
1343 /// <summary>Swizzles the vector.</summary>
1344 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1345 public bool4 ywyx
1346 {
1347 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1348 get { return new bool4(y, w, y, x); }
1349 }
1350
1351
1352 /// <summary>Swizzles the vector.</summary>
1353 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1354 public bool4 ywyy
1355 {
1356 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1357 get { return new bool4(y, w, y, y); }
1358 }
1359
1360
1361 /// <summary>Swizzles the vector.</summary>
1362 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1363 public bool4 ywyz
1364 {
1365 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1366 get { return new bool4(y, w, y, z); }
1367 }
1368
1369
1370 /// <summary>Swizzles the vector.</summary>
1371 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1372 public bool4 ywyw
1373 {
1374 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1375 get { return new bool4(y, w, y, w); }
1376 }
1377
1378
1379 /// <summary>Swizzles the vector.</summary>
1380 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1381 public bool4 ywzx
1382 {
1383 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1384 get { return new bool4(y, w, z, x); }
1385 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1386 set { y = value.x; w = value.y; z = value.z; x = value.w; }
1387 }
1388
1389
1390 /// <summary>Swizzles the vector.</summary>
1391 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1392 public bool4 ywzy
1393 {
1394 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1395 get { return new bool4(y, w, z, y); }
1396 }
1397
1398
1399 /// <summary>Swizzles the vector.</summary>
1400 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1401 public bool4 ywzz
1402 {
1403 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1404 get { return new bool4(y, w, z, z); }
1405 }
1406
1407
1408 /// <summary>Swizzles the vector.</summary>
1409 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1410 public bool4 ywzw
1411 {
1412 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1413 get { return new bool4(y, w, z, w); }
1414 }
1415
1416
1417 /// <summary>Swizzles the vector.</summary>
1418 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1419 public bool4 ywwx
1420 {
1421 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1422 get { return new bool4(y, w, w, x); }
1423 }
1424
1425
1426 /// <summary>Swizzles the vector.</summary>
1427 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1428 public bool4 ywwy
1429 {
1430 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1431 get { return new bool4(y, w, w, y); }
1432 }
1433
1434
1435 /// <summary>Swizzles the vector.</summary>
1436 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1437 public bool4 ywwz
1438 {
1439 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1440 get { return new bool4(y, w, w, z); }
1441 }
1442
1443
1444 /// <summary>Swizzles the vector.</summary>
1445 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1446 public bool4 ywww
1447 {
1448 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1449 get { return new bool4(y, w, w, w); }
1450 }
1451
1452
1453 /// <summary>Swizzles the vector.</summary>
1454 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1455 public bool4 zxxx
1456 {
1457 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1458 get { return new bool4(z, x, x, x); }
1459 }
1460
1461
1462 /// <summary>Swizzles the vector.</summary>
1463 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1464 public bool4 zxxy
1465 {
1466 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1467 get { return new bool4(z, x, x, y); }
1468 }
1469
1470
1471 /// <summary>Swizzles the vector.</summary>
1472 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1473 public bool4 zxxz
1474 {
1475 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1476 get { return new bool4(z, x, x, z); }
1477 }
1478
1479
1480 /// <summary>Swizzles the vector.</summary>
1481 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1482 public bool4 zxxw
1483 {
1484 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1485 get { return new bool4(z, x, x, w); }
1486 }
1487
1488
1489 /// <summary>Swizzles the vector.</summary>
1490 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1491 public bool4 zxyx
1492 {
1493 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1494 get { return new bool4(z, x, y, x); }
1495 }
1496
1497
1498 /// <summary>Swizzles the vector.</summary>
1499 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1500 public bool4 zxyy
1501 {
1502 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1503 get { return new bool4(z, x, y, y); }
1504 }
1505
1506
1507 /// <summary>Swizzles the vector.</summary>
1508 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1509 public bool4 zxyz
1510 {
1511 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1512 get { return new bool4(z, x, y, z); }
1513 }
1514
1515
1516 /// <summary>Swizzles the vector.</summary>
1517 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1518 public bool4 zxyw
1519 {
1520 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1521 get { return new bool4(z, x, y, w); }
1522 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1523 set { z = value.x; x = value.y; y = value.z; w = value.w; }
1524 }
1525
1526
1527 /// <summary>Swizzles the vector.</summary>
1528 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1529 public bool4 zxzx
1530 {
1531 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1532 get { return new bool4(z, x, z, x); }
1533 }
1534
1535
1536 /// <summary>Swizzles the vector.</summary>
1537 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1538 public bool4 zxzy
1539 {
1540 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1541 get { return new bool4(z, x, z, y); }
1542 }
1543
1544
1545 /// <summary>Swizzles the vector.</summary>
1546 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1547 public bool4 zxzz
1548 {
1549 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1550 get { return new bool4(z, x, z, z); }
1551 }
1552
1553
1554 /// <summary>Swizzles the vector.</summary>
1555 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1556 public bool4 zxzw
1557 {
1558 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1559 get { return new bool4(z, x, z, w); }
1560 }
1561
1562
1563 /// <summary>Swizzles the vector.</summary>
1564 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1565 public bool4 zxwx
1566 {
1567 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1568 get { return new bool4(z, x, w, x); }
1569 }
1570
1571
1572 /// <summary>Swizzles the vector.</summary>
1573 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1574 public bool4 zxwy
1575 {
1576 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1577 get { return new bool4(z, x, w, y); }
1578 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1579 set { z = value.x; x = value.y; w = value.z; y = value.w; }
1580 }
1581
1582
1583 /// <summary>Swizzles the vector.</summary>
1584 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1585 public bool4 zxwz
1586 {
1587 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1588 get { return new bool4(z, x, w, z); }
1589 }
1590
1591
1592 /// <summary>Swizzles the vector.</summary>
1593 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1594 public bool4 zxww
1595 {
1596 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1597 get { return new bool4(z, x, w, w); }
1598 }
1599
1600
1601 /// <summary>Swizzles the vector.</summary>
1602 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1603 public bool4 zyxx
1604 {
1605 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1606 get { return new bool4(z, y, x, x); }
1607 }
1608
1609
1610 /// <summary>Swizzles the vector.</summary>
1611 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1612 public bool4 zyxy
1613 {
1614 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1615 get { return new bool4(z, y, x, y); }
1616 }
1617
1618
1619 /// <summary>Swizzles the vector.</summary>
1620 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1621 public bool4 zyxz
1622 {
1623 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1624 get { return new bool4(z, y, x, z); }
1625 }
1626
1627
1628 /// <summary>Swizzles the vector.</summary>
1629 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1630 public bool4 zyxw
1631 {
1632 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1633 get { return new bool4(z, y, x, w); }
1634 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1635 set { z = value.x; y = value.y; x = value.z; w = value.w; }
1636 }
1637
1638
1639 /// <summary>Swizzles the vector.</summary>
1640 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1641 public bool4 zyyx
1642 {
1643 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1644 get { return new bool4(z, y, y, x); }
1645 }
1646
1647
1648 /// <summary>Swizzles the vector.</summary>
1649 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1650 public bool4 zyyy
1651 {
1652 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1653 get { return new bool4(z, y, y, y); }
1654 }
1655
1656
1657 /// <summary>Swizzles the vector.</summary>
1658 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1659 public bool4 zyyz
1660 {
1661 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1662 get { return new bool4(z, y, y, z); }
1663 }
1664
1665
1666 /// <summary>Swizzles the vector.</summary>
1667 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1668 public bool4 zyyw
1669 {
1670 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1671 get { return new bool4(z, y, y, w); }
1672 }
1673
1674
1675 /// <summary>Swizzles the vector.</summary>
1676 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1677 public bool4 zyzx
1678 {
1679 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1680 get { return new bool4(z, y, z, x); }
1681 }
1682
1683
1684 /// <summary>Swizzles the vector.</summary>
1685 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1686 public bool4 zyzy
1687 {
1688 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1689 get { return new bool4(z, y, z, y); }
1690 }
1691
1692
1693 /// <summary>Swizzles the vector.</summary>
1694 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1695 public bool4 zyzz
1696 {
1697 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1698 get { return new bool4(z, y, z, z); }
1699 }
1700
1701
1702 /// <summary>Swizzles the vector.</summary>
1703 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1704 public bool4 zyzw
1705 {
1706 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1707 get { return new bool4(z, y, z, w); }
1708 }
1709
1710
1711 /// <summary>Swizzles the vector.</summary>
1712 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1713 public bool4 zywx
1714 {
1715 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1716 get { return new bool4(z, y, w, x); }
1717 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1718 set { z = value.x; y = value.y; w = value.z; x = value.w; }
1719 }
1720
1721
1722 /// <summary>Swizzles the vector.</summary>
1723 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1724 public bool4 zywy
1725 {
1726 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1727 get { return new bool4(z, y, w, y); }
1728 }
1729
1730
1731 /// <summary>Swizzles the vector.</summary>
1732 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1733 public bool4 zywz
1734 {
1735 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1736 get { return new bool4(z, y, w, z); }
1737 }
1738
1739
1740 /// <summary>Swizzles the vector.</summary>
1741 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1742 public bool4 zyww
1743 {
1744 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1745 get { return new bool4(z, y, w, w); }
1746 }
1747
1748
1749 /// <summary>Swizzles the vector.</summary>
1750 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1751 public bool4 zzxx
1752 {
1753 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1754 get { return new bool4(z, z, x, x); }
1755 }
1756
1757
1758 /// <summary>Swizzles the vector.</summary>
1759 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1760 public bool4 zzxy
1761 {
1762 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1763 get { return new bool4(z, z, x, y); }
1764 }
1765
1766
1767 /// <summary>Swizzles the vector.</summary>
1768 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1769 public bool4 zzxz
1770 {
1771 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1772 get { return new bool4(z, z, x, z); }
1773 }
1774
1775
1776 /// <summary>Swizzles the vector.</summary>
1777 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1778 public bool4 zzxw
1779 {
1780 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1781 get { return new bool4(z, z, x, w); }
1782 }
1783
1784
1785 /// <summary>Swizzles the vector.</summary>
1786 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1787 public bool4 zzyx
1788 {
1789 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1790 get { return new bool4(z, z, y, x); }
1791 }
1792
1793
1794 /// <summary>Swizzles the vector.</summary>
1795 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1796 public bool4 zzyy
1797 {
1798 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1799 get { return new bool4(z, z, y, y); }
1800 }
1801
1802
1803 /// <summary>Swizzles the vector.</summary>
1804 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1805 public bool4 zzyz
1806 {
1807 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1808 get { return new bool4(z, z, y, z); }
1809 }
1810
1811
1812 /// <summary>Swizzles the vector.</summary>
1813 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1814 public bool4 zzyw
1815 {
1816 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1817 get { return new bool4(z, z, y, w); }
1818 }
1819
1820
1821 /// <summary>Swizzles the vector.</summary>
1822 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1823 public bool4 zzzx
1824 {
1825 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1826 get { return new bool4(z, z, z, x); }
1827 }
1828
1829
1830 /// <summary>Swizzles the vector.</summary>
1831 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1832 public bool4 zzzy
1833 {
1834 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1835 get { return new bool4(z, z, z, y); }
1836 }
1837
1838
1839 /// <summary>Swizzles the vector.</summary>
1840 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1841 public bool4 zzzz
1842 {
1843 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1844 get { return new bool4(z, z, z, z); }
1845 }
1846
1847
1848 /// <summary>Swizzles the vector.</summary>
1849 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1850 public bool4 zzzw
1851 {
1852 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1853 get { return new bool4(z, z, z, w); }
1854 }
1855
1856
1857 /// <summary>Swizzles the vector.</summary>
1858 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1859 public bool4 zzwx
1860 {
1861 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1862 get { return new bool4(z, z, w, x); }
1863 }
1864
1865
1866 /// <summary>Swizzles the vector.</summary>
1867 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1868 public bool4 zzwy
1869 {
1870 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1871 get { return new bool4(z, z, w, y); }
1872 }
1873
1874
1875 /// <summary>Swizzles the vector.</summary>
1876 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1877 public bool4 zzwz
1878 {
1879 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1880 get { return new bool4(z, z, w, z); }
1881 }
1882
1883
1884 /// <summary>Swizzles the vector.</summary>
1885 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1886 public bool4 zzww
1887 {
1888 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1889 get { return new bool4(z, z, w, w); }
1890 }
1891
1892
1893 /// <summary>Swizzles the vector.</summary>
1894 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1895 public bool4 zwxx
1896 {
1897 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1898 get { return new bool4(z, w, x, x); }
1899 }
1900
1901
1902 /// <summary>Swizzles the vector.</summary>
1903 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1904 public bool4 zwxy
1905 {
1906 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1907 get { return new bool4(z, w, x, y); }
1908 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1909 set { z = value.x; w = value.y; x = value.z; y = value.w; }
1910 }
1911
1912
1913 /// <summary>Swizzles the vector.</summary>
1914 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1915 public bool4 zwxz
1916 {
1917 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1918 get { return new bool4(z, w, x, z); }
1919 }
1920
1921
1922 /// <summary>Swizzles the vector.</summary>
1923 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1924 public bool4 zwxw
1925 {
1926 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1927 get { return new bool4(z, w, x, w); }
1928 }
1929
1930
1931 /// <summary>Swizzles the vector.</summary>
1932 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1933 public bool4 zwyx
1934 {
1935 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1936 get { return new bool4(z, w, y, x); }
1937 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1938 set { z = value.x; w = value.y; y = value.z; x = value.w; }
1939 }
1940
1941
1942 /// <summary>Swizzles the vector.</summary>
1943 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1944 public bool4 zwyy
1945 {
1946 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1947 get { return new bool4(z, w, y, y); }
1948 }
1949
1950
1951 /// <summary>Swizzles the vector.</summary>
1952 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1953 public bool4 zwyz
1954 {
1955 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1956 get { return new bool4(z, w, y, z); }
1957 }
1958
1959
1960 /// <summary>Swizzles the vector.</summary>
1961 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1962 public bool4 zwyw
1963 {
1964 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1965 get { return new bool4(z, w, y, w); }
1966 }
1967
1968
1969 /// <summary>Swizzles the vector.</summary>
1970 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1971 public bool4 zwzx
1972 {
1973 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1974 get { return new bool4(z, w, z, x); }
1975 }
1976
1977
1978 /// <summary>Swizzles the vector.</summary>
1979 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1980 public bool4 zwzy
1981 {
1982 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1983 get { return new bool4(z, w, z, y); }
1984 }
1985
1986
1987 /// <summary>Swizzles the vector.</summary>
1988 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1989 public bool4 zwzz
1990 {
1991 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1992 get { return new bool4(z, w, z, z); }
1993 }
1994
1995
1996 /// <summary>Swizzles the vector.</summary>
1997 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1998 public bool4 zwzw
1999 {
2000 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2001 get { return new bool4(z, w, z, w); }
2002 }
2003
2004
2005 /// <summary>Swizzles the vector.</summary>
2006 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2007 public bool4 zwwx
2008 {
2009 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2010 get { return new bool4(z, w, w, x); }
2011 }
2012
2013
2014 /// <summary>Swizzles the vector.</summary>
2015 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2016 public bool4 zwwy
2017 {
2018 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2019 get { return new bool4(z, w, w, y); }
2020 }
2021
2022
2023 /// <summary>Swizzles the vector.</summary>
2024 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2025 public bool4 zwwz
2026 {
2027 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2028 get { return new bool4(z, w, w, z); }
2029 }
2030
2031
2032 /// <summary>Swizzles the vector.</summary>
2033 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2034 public bool4 zwww
2035 {
2036 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2037 get { return new bool4(z, w, w, w); }
2038 }
2039
2040
2041 /// <summary>Swizzles the vector.</summary>
2042 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2043 public bool4 wxxx
2044 {
2045 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2046 get { return new bool4(w, x, x, x); }
2047 }
2048
2049
2050 /// <summary>Swizzles the vector.</summary>
2051 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2052 public bool4 wxxy
2053 {
2054 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2055 get { return new bool4(w, x, x, y); }
2056 }
2057
2058
2059 /// <summary>Swizzles the vector.</summary>
2060 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2061 public bool4 wxxz
2062 {
2063 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2064 get { return new bool4(w, x, x, z); }
2065 }
2066
2067
2068 /// <summary>Swizzles the vector.</summary>
2069 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2070 public bool4 wxxw
2071 {
2072 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2073 get { return new bool4(w, x, x, w); }
2074 }
2075
2076
2077 /// <summary>Swizzles the vector.</summary>
2078 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2079 public bool4 wxyx
2080 {
2081 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2082 get { return new bool4(w, x, y, x); }
2083 }
2084
2085
2086 /// <summary>Swizzles the vector.</summary>
2087 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2088 public bool4 wxyy
2089 {
2090 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2091 get { return new bool4(w, x, y, y); }
2092 }
2093
2094
2095 /// <summary>Swizzles the vector.</summary>
2096 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2097 public bool4 wxyz
2098 {
2099 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2100 get { return new bool4(w, x, y, z); }
2101 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2102 set { w = value.x; x = value.y; y = value.z; z = value.w; }
2103 }
2104
2105
2106 /// <summary>Swizzles the vector.</summary>
2107 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2108 public bool4 wxyw
2109 {
2110 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2111 get { return new bool4(w, x, y, w); }
2112 }
2113
2114
2115 /// <summary>Swizzles the vector.</summary>
2116 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2117 public bool4 wxzx
2118 {
2119 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2120 get { return new bool4(w, x, z, x); }
2121 }
2122
2123
2124 /// <summary>Swizzles the vector.</summary>
2125 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2126 public bool4 wxzy
2127 {
2128 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2129 get { return new bool4(w, x, z, y); }
2130 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2131 set { w = value.x; x = value.y; z = value.z; y = value.w; }
2132 }
2133
2134
2135 /// <summary>Swizzles the vector.</summary>
2136 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2137 public bool4 wxzz
2138 {
2139 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2140 get { return new bool4(w, x, z, z); }
2141 }
2142
2143
2144 /// <summary>Swizzles the vector.</summary>
2145 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2146 public bool4 wxzw
2147 {
2148 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2149 get { return new bool4(w, x, z, w); }
2150 }
2151
2152
2153 /// <summary>Swizzles the vector.</summary>
2154 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2155 public bool4 wxwx
2156 {
2157 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2158 get { return new bool4(w, x, w, x); }
2159 }
2160
2161
2162 /// <summary>Swizzles the vector.</summary>
2163 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2164 public bool4 wxwy
2165 {
2166 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2167 get { return new bool4(w, x, w, y); }
2168 }
2169
2170
2171 /// <summary>Swizzles the vector.</summary>
2172 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2173 public bool4 wxwz
2174 {
2175 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2176 get { return new bool4(w, x, w, z); }
2177 }
2178
2179
2180 /// <summary>Swizzles the vector.</summary>
2181 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2182 public bool4 wxww
2183 {
2184 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2185 get { return new bool4(w, x, w, w); }
2186 }
2187
2188
2189 /// <summary>Swizzles the vector.</summary>
2190 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2191 public bool4 wyxx
2192 {
2193 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2194 get { return new bool4(w, y, x, x); }
2195 }
2196
2197
2198 /// <summary>Swizzles the vector.</summary>
2199 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2200 public bool4 wyxy
2201 {
2202 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2203 get { return new bool4(w, y, x, y); }
2204 }
2205
2206
2207 /// <summary>Swizzles the vector.</summary>
2208 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2209 public bool4 wyxz
2210 {
2211 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2212 get { return new bool4(w, y, x, z); }
2213 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2214 set { w = value.x; y = value.y; x = value.z; z = value.w; }
2215 }
2216
2217
2218 /// <summary>Swizzles the vector.</summary>
2219 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2220 public bool4 wyxw
2221 {
2222 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2223 get { return new bool4(w, y, x, w); }
2224 }
2225
2226
2227 /// <summary>Swizzles the vector.</summary>
2228 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2229 public bool4 wyyx
2230 {
2231 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2232 get { return new bool4(w, y, y, x); }
2233 }
2234
2235
2236 /// <summary>Swizzles the vector.</summary>
2237 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2238 public bool4 wyyy
2239 {
2240 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2241 get { return new bool4(w, y, y, y); }
2242 }
2243
2244
2245 /// <summary>Swizzles the vector.</summary>
2246 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2247 public bool4 wyyz
2248 {
2249 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2250 get { return new bool4(w, y, y, z); }
2251 }
2252
2253
2254 /// <summary>Swizzles the vector.</summary>
2255 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2256 public bool4 wyyw
2257 {
2258 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2259 get { return new bool4(w, y, y, w); }
2260 }
2261
2262
2263 /// <summary>Swizzles the vector.</summary>
2264 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2265 public bool4 wyzx
2266 {
2267 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2268 get { return new bool4(w, y, z, x); }
2269 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2270 set { w = value.x; y = value.y; z = value.z; x = value.w; }
2271 }
2272
2273
2274 /// <summary>Swizzles the vector.</summary>
2275 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2276 public bool4 wyzy
2277 {
2278 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2279 get { return new bool4(w, y, z, y); }
2280 }
2281
2282
2283 /// <summary>Swizzles the vector.</summary>
2284 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2285 public bool4 wyzz
2286 {
2287 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2288 get { return new bool4(w, y, z, z); }
2289 }
2290
2291
2292 /// <summary>Swizzles the vector.</summary>
2293 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2294 public bool4 wyzw
2295 {
2296 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2297 get { return new bool4(w, y, z, w); }
2298 }
2299
2300
2301 /// <summary>Swizzles the vector.</summary>
2302 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2303 public bool4 wywx
2304 {
2305 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2306 get { return new bool4(w, y, w, x); }
2307 }
2308
2309
2310 /// <summary>Swizzles the vector.</summary>
2311 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2312 public bool4 wywy
2313 {
2314 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2315 get { return new bool4(w, y, w, y); }
2316 }
2317
2318
2319 /// <summary>Swizzles the vector.</summary>
2320 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2321 public bool4 wywz
2322 {
2323 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2324 get { return new bool4(w, y, w, z); }
2325 }
2326
2327
2328 /// <summary>Swizzles the vector.</summary>
2329 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2330 public bool4 wyww
2331 {
2332 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2333 get { return new bool4(w, y, w, w); }
2334 }
2335
2336
2337 /// <summary>Swizzles the vector.</summary>
2338 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2339 public bool4 wzxx
2340 {
2341 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2342 get { return new bool4(w, z, x, x); }
2343 }
2344
2345
2346 /// <summary>Swizzles the vector.</summary>
2347 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2348 public bool4 wzxy
2349 {
2350 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2351 get { return new bool4(w, z, x, y); }
2352 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2353 set { w = value.x; z = value.y; x = value.z; y = value.w; }
2354 }
2355
2356
2357 /// <summary>Swizzles the vector.</summary>
2358 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2359 public bool4 wzxz
2360 {
2361 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2362 get { return new bool4(w, z, x, z); }
2363 }
2364
2365
2366 /// <summary>Swizzles the vector.</summary>
2367 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2368 public bool4 wzxw
2369 {
2370 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2371 get { return new bool4(w, z, x, w); }
2372 }
2373
2374
2375 /// <summary>Swizzles the vector.</summary>
2376 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2377 public bool4 wzyx
2378 {
2379 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2380 get { return new bool4(w, z, y, x); }
2381 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2382 set { w = value.x; z = value.y; y = value.z; x = value.w; }
2383 }
2384
2385
2386 /// <summary>Swizzles the vector.</summary>
2387 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2388 public bool4 wzyy
2389 {
2390 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2391 get { return new bool4(w, z, y, y); }
2392 }
2393
2394
2395 /// <summary>Swizzles the vector.</summary>
2396 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2397 public bool4 wzyz
2398 {
2399 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2400 get { return new bool4(w, z, y, z); }
2401 }
2402
2403
2404 /// <summary>Swizzles the vector.</summary>
2405 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2406 public bool4 wzyw
2407 {
2408 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2409 get { return new bool4(w, z, y, w); }
2410 }
2411
2412
2413 /// <summary>Swizzles the vector.</summary>
2414 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2415 public bool4 wzzx
2416 {
2417 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2418 get { return new bool4(w, z, z, x); }
2419 }
2420
2421
2422 /// <summary>Swizzles the vector.</summary>
2423 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2424 public bool4 wzzy
2425 {
2426 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2427 get { return new bool4(w, z, z, y); }
2428 }
2429
2430
2431 /// <summary>Swizzles the vector.</summary>
2432 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2433 public bool4 wzzz
2434 {
2435 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2436 get { return new bool4(w, z, z, z); }
2437 }
2438
2439
2440 /// <summary>Swizzles the vector.</summary>
2441 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2442 public bool4 wzzw
2443 {
2444 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2445 get { return new bool4(w, z, z, w); }
2446 }
2447
2448
2449 /// <summary>Swizzles the vector.</summary>
2450 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2451 public bool4 wzwx
2452 {
2453 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2454 get { return new bool4(w, z, w, x); }
2455 }
2456
2457
2458 /// <summary>Swizzles the vector.</summary>
2459 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2460 public bool4 wzwy
2461 {
2462 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2463 get { return new bool4(w, z, w, y); }
2464 }
2465
2466
2467 /// <summary>Swizzles the vector.</summary>
2468 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2469 public bool4 wzwz
2470 {
2471 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2472 get { return new bool4(w, z, w, z); }
2473 }
2474
2475
2476 /// <summary>Swizzles the vector.</summary>
2477 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2478 public bool4 wzww
2479 {
2480 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2481 get { return new bool4(w, z, w, w); }
2482 }
2483
2484
2485 /// <summary>Swizzles the vector.</summary>
2486 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2487 public bool4 wwxx
2488 {
2489 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2490 get { return new bool4(w, w, x, x); }
2491 }
2492
2493
2494 /// <summary>Swizzles the vector.</summary>
2495 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2496 public bool4 wwxy
2497 {
2498 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2499 get { return new bool4(w, w, x, y); }
2500 }
2501
2502
2503 /// <summary>Swizzles the vector.</summary>
2504 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2505 public bool4 wwxz
2506 {
2507 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2508 get { return new bool4(w, w, x, z); }
2509 }
2510
2511
2512 /// <summary>Swizzles the vector.</summary>
2513 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2514 public bool4 wwxw
2515 {
2516 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2517 get { return new bool4(w, w, x, w); }
2518 }
2519
2520
2521 /// <summary>Swizzles the vector.</summary>
2522 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2523 public bool4 wwyx
2524 {
2525 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2526 get { return new bool4(w, w, y, x); }
2527 }
2528
2529
2530 /// <summary>Swizzles the vector.</summary>
2531 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2532 public bool4 wwyy
2533 {
2534 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2535 get { return new bool4(w, w, y, y); }
2536 }
2537
2538
2539 /// <summary>Swizzles the vector.</summary>
2540 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2541 public bool4 wwyz
2542 {
2543 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2544 get { return new bool4(w, w, y, z); }
2545 }
2546
2547
2548 /// <summary>Swizzles the vector.</summary>
2549 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2550 public bool4 wwyw
2551 {
2552 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2553 get { return new bool4(w, w, y, w); }
2554 }
2555
2556
2557 /// <summary>Swizzles the vector.</summary>
2558 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2559 public bool4 wwzx
2560 {
2561 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2562 get { return new bool4(w, w, z, x); }
2563 }
2564
2565
2566 /// <summary>Swizzles the vector.</summary>
2567 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2568 public bool4 wwzy
2569 {
2570 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2571 get { return new bool4(w, w, z, y); }
2572 }
2573
2574
2575 /// <summary>Swizzles the vector.</summary>
2576 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2577 public bool4 wwzz
2578 {
2579 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2580 get { return new bool4(w, w, z, z); }
2581 }
2582
2583
2584 /// <summary>Swizzles the vector.</summary>
2585 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2586 public bool4 wwzw
2587 {
2588 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2589 get { return new bool4(w, w, z, w); }
2590 }
2591
2592
2593 /// <summary>Swizzles the vector.</summary>
2594 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2595 public bool4 wwwx
2596 {
2597 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2598 get { return new bool4(w, w, w, x); }
2599 }
2600
2601
2602 /// <summary>Swizzles the vector.</summary>
2603 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2604 public bool4 wwwy
2605 {
2606 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2607 get { return new bool4(w, w, w, y); }
2608 }
2609
2610
2611 /// <summary>Swizzles the vector.</summary>
2612 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2613 public bool4 wwwz
2614 {
2615 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2616 get { return new bool4(w, w, w, z); }
2617 }
2618
2619
2620 /// <summary>Swizzles the vector.</summary>
2621 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2622 public bool4 wwww
2623 {
2624 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2625 get { return new bool4(w, w, w, w); }
2626 }
2627
2628
2629 /// <summary>Swizzles the vector.</summary>
2630 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2631 public bool3 xxx
2632 {
2633 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2634 get { return new bool3(x, x, x); }
2635 }
2636
2637
2638 /// <summary>Swizzles the vector.</summary>
2639 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2640 public bool3 xxy
2641 {
2642 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2643 get { return new bool3(x, x, y); }
2644 }
2645
2646
2647 /// <summary>Swizzles the vector.</summary>
2648 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2649 public bool3 xxz
2650 {
2651 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2652 get { return new bool3(x, x, z); }
2653 }
2654
2655
2656 /// <summary>Swizzles the vector.</summary>
2657 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2658 public bool3 xxw
2659 {
2660 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2661 get { return new bool3(x, x, w); }
2662 }
2663
2664
2665 /// <summary>Swizzles the vector.</summary>
2666 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2667 public bool3 xyx
2668 {
2669 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2670 get { return new bool3(x, y, x); }
2671 }
2672
2673
2674 /// <summary>Swizzles the vector.</summary>
2675 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2676 public bool3 xyy
2677 {
2678 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2679 get { return new bool3(x, y, y); }
2680 }
2681
2682
2683 /// <summary>Swizzles the vector.</summary>
2684 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2685 public bool3 xyz
2686 {
2687 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2688 get { return new bool3(x, y, z); }
2689 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2690 set { x = value.x; y = value.y; z = value.z; }
2691 }
2692
2693
2694 /// <summary>Swizzles the vector.</summary>
2695 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2696 public bool3 xyw
2697 {
2698 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2699 get { return new bool3(x, y, w); }
2700 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2701 set { x = value.x; y = value.y; w = value.z; }
2702 }
2703
2704
2705 /// <summary>Swizzles the vector.</summary>
2706 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2707 public bool3 xzx
2708 {
2709 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2710 get { return new bool3(x, z, x); }
2711 }
2712
2713
2714 /// <summary>Swizzles the vector.</summary>
2715 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2716 public bool3 xzy
2717 {
2718 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2719 get { return new bool3(x, z, y); }
2720 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2721 set { x = value.x; z = value.y; y = value.z; }
2722 }
2723
2724
2725 /// <summary>Swizzles the vector.</summary>
2726 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2727 public bool3 xzz
2728 {
2729 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2730 get { return new bool3(x, z, z); }
2731 }
2732
2733
2734 /// <summary>Swizzles the vector.</summary>
2735 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2736 public bool3 xzw
2737 {
2738 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2739 get { return new bool3(x, z, w); }
2740 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2741 set { x = value.x; z = value.y; w = value.z; }
2742 }
2743
2744
2745 /// <summary>Swizzles the vector.</summary>
2746 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2747 public bool3 xwx
2748 {
2749 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2750 get { return new bool3(x, w, x); }
2751 }
2752
2753
2754 /// <summary>Swizzles the vector.</summary>
2755 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2756 public bool3 xwy
2757 {
2758 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2759 get { return new bool3(x, w, y); }
2760 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2761 set { x = value.x; w = value.y; y = value.z; }
2762 }
2763
2764
2765 /// <summary>Swizzles the vector.</summary>
2766 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2767 public bool3 xwz
2768 {
2769 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2770 get { return new bool3(x, w, z); }
2771 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2772 set { x = value.x; w = value.y; z = value.z; }
2773 }
2774
2775
2776 /// <summary>Swizzles the vector.</summary>
2777 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2778 public bool3 xww
2779 {
2780 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2781 get { return new bool3(x, w, w); }
2782 }
2783
2784
2785 /// <summary>Swizzles the vector.</summary>
2786 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2787 public bool3 yxx
2788 {
2789 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2790 get { return new bool3(y, x, x); }
2791 }
2792
2793
2794 /// <summary>Swizzles the vector.</summary>
2795 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2796 public bool3 yxy
2797 {
2798 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2799 get { return new bool3(y, x, y); }
2800 }
2801
2802
2803 /// <summary>Swizzles the vector.</summary>
2804 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2805 public bool3 yxz
2806 {
2807 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2808 get { return new bool3(y, x, z); }
2809 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2810 set { y = value.x; x = value.y; z = value.z; }
2811 }
2812
2813
2814 /// <summary>Swizzles the vector.</summary>
2815 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2816 public bool3 yxw
2817 {
2818 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2819 get { return new bool3(y, x, w); }
2820 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2821 set { y = value.x; x = value.y; w = value.z; }
2822 }
2823
2824
2825 /// <summary>Swizzles the vector.</summary>
2826 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2827 public bool3 yyx
2828 {
2829 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2830 get { return new bool3(y, y, x); }
2831 }
2832
2833
2834 /// <summary>Swizzles the vector.</summary>
2835 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2836 public bool3 yyy
2837 {
2838 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2839 get { return new bool3(y, y, y); }
2840 }
2841
2842
2843 /// <summary>Swizzles the vector.</summary>
2844 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2845 public bool3 yyz
2846 {
2847 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2848 get { return new bool3(y, y, z); }
2849 }
2850
2851
2852 /// <summary>Swizzles the vector.</summary>
2853 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2854 public bool3 yyw
2855 {
2856 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2857 get { return new bool3(y, y, w); }
2858 }
2859
2860
2861 /// <summary>Swizzles the vector.</summary>
2862 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2863 public bool3 yzx
2864 {
2865 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2866 get { return new bool3(y, z, x); }
2867 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2868 set { y = value.x; z = value.y; x = value.z; }
2869 }
2870
2871
2872 /// <summary>Swizzles the vector.</summary>
2873 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2874 public bool3 yzy
2875 {
2876 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2877 get { return new bool3(y, z, y); }
2878 }
2879
2880
2881 /// <summary>Swizzles the vector.</summary>
2882 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2883 public bool3 yzz
2884 {
2885 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2886 get { return new bool3(y, z, z); }
2887 }
2888
2889
2890 /// <summary>Swizzles the vector.</summary>
2891 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2892 public bool3 yzw
2893 {
2894 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2895 get { return new bool3(y, z, w); }
2896 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2897 set { y = value.x; z = value.y; w = value.z; }
2898 }
2899
2900
2901 /// <summary>Swizzles the vector.</summary>
2902 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2903 public bool3 ywx
2904 {
2905 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2906 get { return new bool3(y, w, x); }
2907 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2908 set { y = value.x; w = value.y; x = value.z; }
2909 }
2910
2911
2912 /// <summary>Swizzles the vector.</summary>
2913 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2914 public bool3 ywy
2915 {
2916 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2917 get { return new bool3(y, w, y); }
2918 }
2919
2920
2921 /// <summary>Swizzles the vector.</summary>
2922 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2923 public bool3 ywz
2924 {
2925 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2926 get { return new bool3(y, w, z); }
2927 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2928 set { y = value.x; w = value.y; z = value.z; }
2929 }
2930
2931
2932 /// <summary>Swizzles the vector.</summary>
2933 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2934 public bool3 yww
2935 {
2936 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2937 get { return new bool3(y, w, w); }
2938 }
2939
2940
2941 /// <summary>Swizzles the vector.</summary>
2942 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2943 public bool3 zxx
2944 {
2945 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2946 get { return new bool3(z, x, x); }
2947 }
2948
2949
2950 /// <summary>Swizzles the vector.</summary>
2951 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2952 public bool3 zxy
2953 {
2954 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2955 get { return new bool3(z, x, y); }
2956 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2957 set { z = value.x; x = value.y; y = value.z; }
2958 }
2959
2960
2961 /// <summary>Swizzles the vector.</summary>
2962 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2963 public bool3 zxz
2964 {
2965 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2966 get { return new bool3(z, x, z); }
2967 }
2968
2969
2970 /// <summary>Swizzles the vector.</summary>
2971 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2972 public bool3 zxw
2973 {
2974 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2975 get { return new bool3(z, x, w); }
2976 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2977 set { z = value.x; x = value.y; w = value.z; }
2978 }
2979
2980
2981 /// <summary>Swizzles the vector.</summary>
2982 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2983 public bool3 zyx
2984 {
2985 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2986 get { return new bool3(z, y, x); }
2987 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2988 set { z = value.x; y = value.y; x = value.z; }
2989 }
2990
2991
2992 /// <summary>Swizzles the vector.</summary>
2993 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2994 public bool3 zyy
2995 {
2996 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2997 get { return new bool3(z, y, y); }
2998 }
2999
3000
3001 /// <summary>Swizzles the vector.</summary>
3002 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3003 public bool3 zyz
3004 {
3005 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3006 get { return new bool3(z, y, z); }
3007 }
3008
3009
3010 /// <summary>Swizzles the vector.</summary>
3011 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3012 public bool3 zyw
3013 {
3014 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3015 get { return new bool3(z, y, w); }
3016 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3017 set { z = value.x; y = value.y; w = value.z; }
3018 }
3019
3020
3021 /// <summary>Swizzles the vector.</summary>
3022 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3023 public bool3 zzx
3024 {
3025 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3026 get { return new bool3(z, z, x); }
3027 }
3028
3029
3030 /// <summary>Swizzles the vector.</summary>
3031 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3032 public bool3 zzy
3033 {
3034 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3035 get { return new bool3(z, z, y); }
3036 }
3037
3038
3039 /// <summary>Swizzles the vector.</summary>
3040 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3041 public bool3 zzz
3042 {
3043 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3044 get { return new bool3(z, z, z); }
3045 }
3046
3047
3048 /// <summary>Swizzles the vector.</summary>
3049 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3050 public bool3 zzw
3051 {
3052 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3053 get { return new bool3(z, z, w); }
3054 }
3055
3056
3057 /// <summary>Swizzles the vector.</summary>
3058 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3059 public bool3 zwx
3060 {
3061 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3062 get { return new bool3(z, w, x); }
3063 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3064 set { z = value.x; w = value.y; x = value.z; }
3065 }
3066
3067
3068 /// <summary>Swizzles the vector.</summary>
3069 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3070 public bool3 zwy
3071 {
3072 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3073 get { return new bool3(z, w, y); }
3074 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3075 set { z = value.x; w = value.y; y = value.z; }
3076 }
3077
3078
3079 /// <summary>Swizzles the vector.</summary>
3080 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3081 public bool3 zwz
3082 {
3083 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3084 get { return new bool3(z, w, z); }
3085 }
3086
3087
3088 /// <summary>Swizzles the vector.</summary>
3089 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3090 public bool3 zww
3091 {
3092 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3093 get { return new bool3(z, w, w); }
3094 }
3095
3096
3097 /// <summary>Swizzles the vector.</summary>
3098 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3099 public bool3 wxx
3100 {
3101 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3102 get { return new bool3(w, x, x); }
3103 }
3104
3105
3106 /// <summary>Swizzles the vector.</summary>
3107 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3108 public bool3 wxy
3109 {
3110 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3111 get { return new bool3(w, x, y); }
3112 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3113 set { w = value.x; x = value.y; y = value.z; }
3114 }
3115
3116
3117 /// <summary>Swizzles the vector.</summary>
3118 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3119 public bool3 wxz
3120 {
3121 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3122 get { return new bool3(w, x, z); }
3123 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3124 set { w = value.x; x = value.y; z = value.z; }
3125 }
3126
3127
3128 /// <summary>Swizzles the vector.</summary>
3129 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3130 public bool3 wxw
3131 {
3132 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3133 get { return new bool3(w, x, w); }
3134 }
3135
3136
3137 /// <summary>Swizzles the vector.</summary>
3138 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3139 public bool3 wyx
3140 {
3141 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3142 get { return new bool3(w, y, x); }
3143 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3144 set { w = value.x; y = value.y; x = value.z; }
3145 }
3146
3147
3148 /// <summary>Swizzles the vector.</summary>
3149 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3150 public bool3 wyy
3151 {
3152 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3153 get { return new bool3(w, y, y); }
3154 }
3155
3156
3157 /// <summary>Swizzles the vector.</summary>
3158 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3159 public bool3 wyz
3160 {
3161 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3162 get { return new bool3(w, y, z); }
3163 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3164 set { w = value.x; y = value.y; z = value.z; }
3165 }
3166
3167
3168 /// <summary>Swizzles the vector.</summary>
3169 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3170 public bool3 wyw
3171 {
3172 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3173 get { return new bool3(w, y, w); }
3174 }
3175
3176
3177 /// <summary>Swizzles the vector.</summary>
3178 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3179 public bool3 wzx
3180 {
3181 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3182 get { return new bool3(w, z, x); }
3183 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3184 set { w = value.x; z = value.y; x = value.z; }
3185 }
3186
3187
3188 /// <summary>Swizzles the vector.</summary>
3189 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3190 public bool3 wzy
3191 {
3192 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3193 get { return new bool3(w, z, y); }
3194 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3195 set { w = value.x; z = value.y; y = value.z; }
3196 }
3197
3198
3199 /// <summary>Swizzles the vector.</summary>
3200 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3201 public bool3 wzz
3202 {
3203 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3204 get { return new bool3(w, z, z); }
3205 }
3206
3207
3208 /// <summary>Swizzles the vector.</summary>
3209 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3210 public bool3 wzw
3211 {
3212 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3213 get { return new bool3(w, z, w); }
3214 }
3215
3216
3217 /// <summary>Swizzles the vector.</summary>
3218 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3219 public bool3 wwx
3220 {
3221 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3222 get { return new bool3(w, w, x); }
3223 }
3224
3225
3226 /// <summary>Swizzles the vector.</summary>
3227 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3228 public bool3 wwy
3229 {
3230 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3231 get { return new bool3(w, w, y); }
3232 }
3233
3234
3235 /// <summary>Swizzles the vector.</summary>
3236 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3237 public bool3 wwz
3238 {
3239 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3240 get { return new bool3(w, w, z); }
3241 }
3242
3243
3244 /// <summary>Swizzles the vector.</summary>
3245 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3246 public bool3 www
3247 {
3248 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3249 get { return new bool3(w, w, w); }
3250 }
3251
3252
3253 /// <summary>Swizzles the vector.</summary>
3254 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3255 public bool2 xx
3256 {
3257 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3258 get { return new bool2(x, x); }
3259 }
3260
3261
3262 /// <summary>Swizzles the vector.</summary>
3263 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3264 public bool2 xy
3265 {
3266 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3267 get { return new bool2(x, y); }
3268 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3269 set { x = value.x; y = value.y; }
3270 }
3271
3272
3273 /// <summary>Swizzles the vector.</summary>
3274 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3275 public bool2 xz
3276 {
3277 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3278 get { return new bool2(x, z); }
3279 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3280 set { x = value.x; z = value.y; }
3281 }
3282
3283
3284 /// <summary>Swizzles the vector.</summary>
3285 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3286 public bool2 xw
3287 {
3288 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3289 get { return new bool2(x, w); }
3290 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3291 set { x = value.x; w = value.y; }
3292 }
3293
3294
3295 /// <summary>Swizzles the vector.</summary>
3296 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3297 public bool2 yx
3298 {
3299 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3300 get { return new bool2(y, x); }
3301 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3302 set { y = value.x; x = value.y; }
3303 }
3304
3305
3306 /// <summary>Swizzles the vector.</summary>
3307 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3308 public bool2 yy
3309 {
3310 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3311 get { return new bool2(y, y); }
3312 }
3313
3314
3315 /// <summary>Swizzles the vector.</summary>
3316 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3317 public bool2 yz
3318 {
3319 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3320 get { return new bool2(y, z); }
3321 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3322 set { y = value.x; z = value.y; }
3323 }
3324
3325
3326 /// <summary>Swizzles the vector.</summary>
3327 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3328 public bool2 yw
3329 {
3330 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3331 get { return new bool2(y, w); }
3332 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3333 set { y = value.x; w = value.y; }
3334 }
3335
3336
3337 /// <summary>Swizzles the vector.</summary>
3338 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3339 public bool2 zx
3340 {
3341 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3342 get { return new bool2(z, x); }
3343 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3344 set { z = value.x; x = value.y; }
3345 }
3346
3347
3348 /// <summary>Swizzles the vector.</summary>
3349 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3350 public bool2 zy
3351 {
3352 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3353 get { return new bool2(z, y); }
3354 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3355 set { z = value.x; y = value.y; }
3356 }
3357
3358
3359 /// <summary>Swizzles the vector.</summary>
3360 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3361 public bool2 zz
3362 {
3363 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3364 get { return new bool2(z, z); }
3365 }
3366
3367
3368 /// <summary>Swizzles the vector.</summary>
3369 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3370 public bool2 zw
3371 {
3372 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3373 get { return new bool2(z, w); }
3374 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3375 set { z = value.x; w = value.y; }
3376 }
3377
3378
3379 /// <summary>Swizzles the vector.</summary>
3380 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3381 public bool2 wx
3382 {
3383 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3384 get { return new bool2(w, x); }
3385 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3386 set { w = value.x; x = value.y; }
3387 }
3388
3389
3390 /// <summary>Swizzles the vector.</summary>
3391 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3392 public bool2 wy
3393 {
3394 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3395 get { return new bool2(w, y); }
3396 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3397 set { w = value.x; y = value.y; }
3398 }
3399
3400
3401 /// <summary>Swizzles the vector.</summary>
3402 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3403 public bool2 wz
3404 {
3405 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3406 get { return new bool2(w, z); }
3407 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3408 set { w = value.x; z = value.y; }
3409 }
3410
3411
3412 /// <summary>Swizzles the vector.</summary>
3413 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3414 public bool2 ww
3415 {
3416 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3417 get { return new bool2(w, w); }
3418 }
3419
3420
3421
3422 /// <summary>Returns the bool element at a specified index.</summary>
3423 unsafe public bool this[int index]
3424 {
3425 get
3426 {
3427#if ENABLE_UNITY_COLLECTIONS_CHECKS
3428 if ((uint)index >= 4)
3429 throw new System.ArgumentException("index must be between[0...3]");
3430#endif
3431 fixed (bool4* array = &this) { return ((bool*)array)[index]; }
3432 }
3433 set
3434 {
3435#if ENABLE_UNITY_COLLECTIONS_CHECKS
3436 if ((uint)index >= 4)
3437 throw new System.ArgumentException("index must be between[0...3]");
3438#endif
3439 fixed (bool* array = &x) { array[index] = value; }
3440 }
3441 }
3442
3443 /// <summary>Returns true if the bool4 is equal to a given bool4, false otherwise.</summary>
3444 /// <param name="rhs">Right hand side argument to compare equality with.</param>
3445 /// <returns>The result of the equality comparison.</returns>
3446 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3447 public bool Equals(bool4 rhs) { return x == rhs.x && y == rhs.y && z == rhs.z && w == rhs.w; }
3448
3449 /// <summary>Returns true if the bool4 is equal to a given bool4, false otherwise.</summary>
3450 /// <param name="o">Right hand side argument to compare equality with.</param>
3451 /// <returns>The result of the equality comparison.</returns>
3452 public override bool Equals(object o) { return o is bool4 converted && Equals(converted); }
3453
3454
3455 /// <summary>Returns a hash code for the bool4.</summary>
3456 /// <returns>The computed hash code.</returns>
3457 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3458 public override int GetHashCode() { return (int)math.hash(this); }
3459
3460
3461 /// <summary>Returns a string representation of the bool4.</summary>
3462 /// <returns>String representation of the value.</returns>
3463 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3464 public override string ToString()
3465 {
3466 return string.Format("bool4({0}, {1}, {2}, {3})", x, y, z, w);
3467 }
3468
3469 internal sealed class DebuggerProxy
3470 {
3471 public bool x;
3472 public bool y;
3473 public bool z;
3474 public bool w;
3475 public DebuggerProxy(bool4 v)
3476 {
3477 x = v.x;
3478 y = v.y;
3479 z = v.z;
3480 w = v.w;
3481 }
3482 }
3483
3484 }
3485
3486 public static partial class math
3487 {
3488 /// <summary>Returns a bool4 vector constructed from four bool values.</summary>
3489 /// <param name="x">The constructed vector's x component will be set to this value.</param>
3490 /// <param name="y">The constructed vector's y component will be set to this value.</param>
3491 /// <param name="z">The constructed vector's z component will be set to this value.</param>
3492 /// <param name="w">The constructed vector's w component will be set to this value.</param>
3493 /// <returns>bool4 constructed from arguments.</returns>
3494 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3495 public static bool4 bool4(bool x, bool y, bool z, bool w) { return new bool4(x, y, z, w); }
3496
3497 /// <summary>Returns a bool4 vector constructed from two bool values and a bool2 vector.</summary>
3498 /// <param name="x">The constructed vector's x component will be set to this value.</param>
3499 /// <param name="y">The constructed vector's y component will be set to this value.</param>
3500 /// <param name="zw">The constructed vector's zw components will be set to this value.</param>
3501 /// <returns>bool4 constructed from arguments.</returns>
3502 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3503 public static bool4 bool4(bool x, bool y, bool2 zw) { return new bool4(x, y, zw); }
3504
3505 /// <summary>Returns a bool4 vector constructed from a bool value, a bool2 vector and a bool value.</summary>
3506 /// <param name="x">The constructed vector's x component will be set to this value.</param>
3507 /// <param name="yz">The constructed vector's yz components will be set to this value.</param>
3508 /// <param name="w">The constructed vector's w component will be set to this value.</param>
3509 /// <returns>bool4 constructed from arguments.</returns>
3510 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3511 public static bool4 bool4(bool x, bool2 yz, bool w) { return new bool4(x, yz, w); }
3512
3513 /// <summary>Returns a bool4 vector constructed from a bool value and a bool3 vector.</summary>
3514 /// <param name="x">The constructed vector's x component will be set to this value.</param>
3515 /// <param name="yzw">The constructed vector's yzw components will be set to this value.</param>
3516 /// <returns>bool4 constructed from arguments.</returns>
3517 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3518 public static bool4 bool4(bool x, bool3 yzw) { return new bool4(x, yzw); }
3519
3520 /// <summary>Returns a bool4 vector constructed from a bool2 vector and two bool values.</summary>
3521 /// <param name="xy">The constructed vector's xy components will be set to this value.</param>
3522 /// <param name="z">The constructed vector's z component will be set to this value.</param>
3523 /// <param name="w">The constructed vector's w component will be set to this value.</param>
3524 /// <returns>bool4 constructed from arguments.</returns>
3525 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3526 public static bool4 bool4(bool2 xy, bool z, bool w) { return new bool4(xy, z, w); }
3527
3528 /// <summary>Returns a bool4 vector constructed from two bool2 vectors.</summary>
3529 /// <param name="xy">The constructed vector's xy components will be set to this value.</param>
3530 /// <param name="zw">The constructed vector's zw components will be set to this value.</param>
3531 /// <returns>bool4 constructed from arguments.</returns>
3532 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3533 public static bool4 bool4(bool2 xy, bool2 zw) { return new bool4(xy, zw); }
3534
3535 /// <summary>Returns a bool4 vector constructed from a bool3 vector and a bool value.</summary>
3536 /// <param name="xyz">The constructed vector's xyz components will be set to this value.</param>
3537 /// <param name="w">The constructed vector's w component will be set to this value.</param>
3538 /// <returns>bool4 constructed from arguments.</returns>
3539 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3540 public static bool4 bool4(bool3 xyz, bool w) { return new bool4(xyz, w); }
3541
3542 /// <summary>Returns a bool4 vector constructed from a bool4 vector.</summary>
3543 /// <param name="xyzw">The constructed vector's xyzw components will be set to this value.</param>
3544 /// <returns>bool4 constructed from arguments.</returns>
3545 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3546 public static bool4 bool4(bool4 xyzw) { return new bool4(xyzw); }
3547
3548 /// <summary>Returns a bool4 vector constructed from a single bool value by assigning it to every component.</summary>
3549 /// <param name="v">bool to convert to bool4</param>
3550 /// <returns>Converted value.</returns>
3551 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3552 public static bool4 bool4(bool v) { return new bool4(v); }
3553
3554 /// <summary>Returns a uint hash code of a bool4 vector.</summary>
3555 /// <param name="v">Vector value to hash.</param>
3556 /// <returns>uint hash of the argument.</returns>
3557 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3558 public static uint hash(bool4 v)
3559 {
3560 return csum(select(uint4(0x5FFF6B19u, 0x5E6CBF3Bu, 0xB546F2A5u, 0xBBCF63E7u), uint4(0xC53F4755u, 0x6985C229u, 0xE133B0B3u, 0xC3E0A3B9u), v));
3561 }
3562
3563 /// <summary>
3564 /// Returns a uint4 vector hash code of a bool4 vector.
3565 /// When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
3566 /// that are only reduced to a narrow uint hash at the very end instead of at every step.
3567 /// </summary>
3568 /// <param name="v">Vector value to hash.</param>
3569 /// <returns>uint4 hash of the argument.</returns>
3570 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3571 public static uint4 hashwide(bool4 v)
3572 {
3573 return (select(uint4(0xFE31134Fu, 0x712A34D7u, 0x9D77A59Bu, 0x4942CA39u), uint4(0xB40EC62Du, 0x565ED63Fu, 0x93C30C2Bu, 0xDCAF0351u), v));
3574 }
3575
3576 /// <summary>Returns the result of specified shuffling of the components from two bool4 vectors into a bool value.</summary>
3577 /// <param name="left">bool4 to use as the left argument of the shuffle operation.</param>
3578 /// <param name="right">bool4 to use as the right argument of the shuffle operation.</param>
3579 /// <param name="x">The ShuffleComponent to use when setting the resulting bool.</param>
3580 /// <returns>bool result of the shuffle operation.</returns>
3581 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3582 public static bool shuffle(bool4 left, bool4 right, ShuffleComponent x)
3583 {
3584 return select_shuffle_component(left, right, x);
3585 }
3586
3587 /// <summary>Returns the result of specified shuffling of the components from two bool4 vectors into a bool2 vector.</summary>
3588 /// <param name="left">bool4 to use as the left argument of the shuffle operation.</param>
3589 /// <param name="right">bool4 to use as the right argument of the shuffle operation.</param>
3590 /// <param name="x">The ShuffleComponent to use when setting the resulting bool2 x component.</param>
3591 /// <param name="y">The ShuffleComponent to use when setting the resulting bool2 y component.</param>
3592 /// <returns>bool2 result of the shuffle operation.</returns>
3593 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3594 public static bool2 shuffle(bool4 left, bool4 right, ShuffleComponent x, ShuffleComponent y)
3595 {
3596 return bool2(
3597 select_shuffle_component(left, right, x),
3598 select_shuffle_component(left, right, y));
3599 }
3600
3601 /// <summary>Returns the result of specified shuffling of the components from two bool4 vectors into a bool3 vector.</summary>
3602 /// <param name="left">bool4 to use as the left argument of the shuffle operation.</param>
3603 /// <param name="right">bool4 to use as the right argument of the shuffle operation.</param>
3604 /// <param name="x">The ShuffleComponent to use when setting the resulting bool3 x component.</param>
3605 /// <param name="y">The ShuffleComponent to use when setting the resulting bool3 y component.</param>
3606 /// <param name="z">The ShuffleComponent to use when setting the resulting bool3 z component.</param>
3607 /// <returns>bool3 result of the shuffle operation.</returns>
3608 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3609 public static bool3 shuffle(bool4 left, bool4 right, ShuffleComponent x, ShuffleComponent y, ShuffleComponent z)
3610 {
3611 return bool3(
3612 select_shuffle_component(left, right, x),
3613 select_shuffle_component(left, right, y),
3614 select_shuffle_component(left, right, z));
3615 }
3616
3617 /// <summary>Returns the result of specified shuffling of the components from two bool4 vectors into a bool4 vector.</summary>
3618 /// <param name="left">bool4 to use as the left argument of the shuffle operation.</param>
3619 /// <param name="right">bool4 to use as the right argument of the shuffle operation.</param>
3620 /// <param name="x">The ShuffleComponent to use when setting the resulting bool4 x component.</param>
3621 /// <param name="y">The ShuffleComponent to use when setting the resulting bool4 y component.</param>
3622 /// <param name="z">The ShuffleComponent to use when setting the resulting bool4 z component.</param>
3623 /// <param name="w">The ShuffleComponent to use when setting the resulting bool4 w component.</param>
3624 /// <returns>bool4 result of the shuffle operation.</returns>
3625 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3626 public static bool4 shuffle(bool4 left, bool4 right, ShuffleComponent x, ShuffleComponent y, ShuffleComponent z, ShuffleComponent w)
3627 {
3628 return bool4(
3629 select_shuffle_component(left, right, x),
3630 select_shuffle_component(left, right, y),
3631 select_shuffle_component(left, right, z),
3632 select_shuffle_component(left, right, w));
3633 }
3634
3635 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3636 internal static bool select_shuffle_component(bool4 a, bool4 b, ShuffleComponent component)
3637 {
3638 switch(component)
3639 {
3640 case ShuffleComponent.LeftX:
3641 return a.x;
3642 case ShuffleComponent.LeftY:
3643 return a.y;
3644 case ShuffleComponent.LeftZ:
3645 return a.z;
3646 case ShuffleComponent.LeftW:
3647 return a.w;
3648 case ShuffleComponent.RightX:
3649 return b.x;
3650 case ShuffleComponent.RightY:
3651 return b.y;
3652 case ShuffleComponent.RightZ:
3653 return b.z;
3654 case ShuffleComponent.RightW:
3655 return b.w;
3656 default:
3657 throw new System.ArgumentException("Invalid shuffle component: " + component);
3658 }
3659 }
3660
3661 }
3662}