manual nui merge 0.2.38
[platform/core/csapi/nui.git] / Tizen.NUI / src / public / Vector4.cs
1 //------------------------------------------------------------------------------
2 // <auto-generated />
3 //
4 // This file was automatically generated by SWIG (http://www.swig.org).
5 // Version 3.0.9
6 //
7 // Do not make changes to this file unless you know what you are doing--modify
8 // the SWIG interface file instead.
9 //------------------------------------------------------------------------------
10
11 namespace Tizen.NUI
12 {
13
14     /// <summary>
15     /// A four dimensional vector.
16     /// </summary>
17     public class Vector4 : global::System.IDisposable
18     {
19         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
20         protected bool swigCMemOwn;
21
22         internal Vector4(global::System.IntPtr cPtr, bool cMemoryOwn)
23         {
24             swigCMemOwn = cMemoryOwn;
25             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
26         }
27
28         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Vector4 obj)
29         {
30             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
31         }
32
33         ~Vector4()
34         {
35             DisposeQueue.Instance.Add(this);
36         }
37
38         public virtual void Dispose()
39         {
40             if (!Window.IsInstalled())
41             {
42                 DisposeQueue.Instance.Add(this);
43                 return;
44             }
45
46             lock (this)
47             {
48                 if (swigCPtr.Handle != global::System.IntPtr.Zero)
49                 {
50                     if (swigCMemOwn)
51                     {
52                         swigCMemOwn = false;
53                         NDalicPINVOKE.delete_Vector4(swigCPtr);
54                     }
55                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
56                 }
57                 global::System.GC.SuppressFinalize(this);
58             }
59         }
60
61         /// <summary>
62         /// Addition operator.
63         /// </summary>
64         /// <param name="arg1">First value</param>
65         /// <param name="arg2">Second value</param>
66         /// <returns>A vector containing the result of the addition</returns>
67         public static Vector4 operator +(Vector4 arg1, Vector4 arg2)
68         {
69             return arg1.Add(arg2);
70         }
71
72         /// <summary>
73         /// Subtraction operator.
74         /// </summary>
75         /// <param name="arg1">First value</param>
76         /// <param name="arg2">Second value</param>
77         /// <returns>A vector containing the result of the subtraction</returns>
78         public static Vector4 operator -(Vector4 arg1, Vector4 arg2)
79         {
80             return arg1.Subtract(arg2);
81         }
82
83         /// <summary>
84         /// Unary negation operator.
85         /// </summary>
86         /// <param name="arg1">Target Value</param>
87         /// <returns>A vector containg the negation</returns>
88         public static Vector4 operator -(Vector4 arg1)
89         {
90             return arg1.Subtract();
91         }
92
93         /// <summary>
94         /// Multiplication operator.
95         /// </summary>
96         /// <param name="arg1">First Value</param>
97         /// <param name="arg2">Second Value</param>
98         /// <returns>A vector containing the result of the multiplication</returns>
99         public static Vector4 operator *(Vector4 arg1, Vector4 arg2)
100         {
101             return arg1.Multiply(arg2);
102         }
103
104         /// <summary>
105         /// Multiplication operator.
106         /// </summary>
107         /// <param name="arg1">First Value</param>
108         /// <param name="arg2">The float value to scale the vector</param>
109         /// <returns>A vector containing the result of the scaling</returns>
110         public static Vector4 operator *(Vector4 arg1, float arg2)
111         {
112             return arg1.Multiply(arg2);
113         }
114
115         /// <summary>
116         /// Division operator.
117         /// </summary>
118         /// <param name="arg1">First Value</param>
119         /// <param name="arg2">Second Value</param>
120         /// <returns>A vector containing the result of the division</returns>
121         public static Vector4 operator /(Vector4 arg1, Vector4 arg2)
122         {
123             return arg1.Divide(arg2);
124         }
125
126         /// <summary>
127         /// Division operator.
128         /// </summary>
129         /// <param name="arg1">First Value</param>
130         /// <param name="arg2">The float value to scale the vector by</param>
131         /// <returns>A vector containing the result of the scaling</returns>
132         public static Vector4 operator /(Vector4 arg1, float arg2)
133         {
134             return arg1.Divide(arg2);
135         }
136
137         /// <summary>
138         /// Array subscript operator overload.
139         /// </summary>
140         /// <param name="index">Subscript index</param>
141         /// <returns>The float at the given index</returns>
142         public float this[uint index]
143         {
144             get
145             {
146                 return ValueOfIndex(index);
147             }
148         }
149
150         internal static Vector4 GetVector4FromPtr(global::System.IntPtr cPtr)
151         {
152             Vector4 ret = new Vector4(cPtr, false);
153             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
154             return ret;
155         }
156
157         /// <summary>
158         /// Default constructor, initializes the vector to 0.
159         /// </summary>
160         public Vector4() : this(NDalicPINVOKE.new_Vector4__SWIG_0(), true)
161         {
162             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
163         }
164
165         /// <summary>
166         /// Conversion constructor from four floats.
167         /// </summary>
168         /// <param name="x">x (or r/s) component</param>
169         /// <param name="y">y (or g/t) component</param>
170         /// <param name="z">z (or b/p) component</param>
171         /// <param name="w">w (or a/q) component</param>
172         public Vector4(float x, float y, float z, float w) : this(NDalicPINVOKE.new_Vector4__SWIG_1(x, y, z, w), true)
173         {
174             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
175         }
176
177         /// <summary>
178         /// Conversion constructor from an array of four floats.
179         /// </summary>
180         /// <param name="array">array Array of either xyzw/rgba/stpq</param>
181         public Vector4(float[] array) : this(NDalicPINVOKE.new_Vector4__SWIG_2(array), true)
182         {
183             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
184         }
185
186         /// <summary>
187         /// Conversion constructor from Vector2.
188         /// </summary>
189         /// <param name="vec2">Vector2 to copy from, z and w are initialized to 0</param>
190         public Vector4(Vector2 vec2) : this(NDalicPINVOKE.new_Vector4__SWIG_3(Vector2.getCPtr(vec2)), true)
191         {
192             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
193         }
194
195         /// <summary>
196         /// Conversion constructor from Vector3.
197         /// </summary>
198         /// <param name="vec3">Vector3 to copy from, w is initialized to 0</param>
199         public Vector4(Vector3 vec3) : this(NDalicPINVOKE.new_Vector4__SWIG_4(Vector3.getCPtr(vec3)), true)
200         {
201             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
202         }
203
204         /// <summary>
205         /// (1.0f,1.0f,1.0f,1.0f)
206         /// </summary>
207         public static Vector4 One
208         {
209             get
210             {
211                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_ONE_get();
212                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
213                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
214                 return ret;
215             }
216         }
217
218         /// <summary>
219         /// (1.0f,0.0f,0.0f,0.0f)
220         /// </summary>
221         public static Vector4 XAxis
222         {
223             get
224             {
225                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_XAXIS_get();
226                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
227                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
228                 return ret;
229             }
230         }
231
232         /// <summary>
233         /// (0.0f,1.0f,0.0f,0.0f)
234         /// </summary>
235         public static Vector4 YAxis
236         {
237             get
238             {
239                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_YAXIS_get();
240                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
241                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
242                 return ret;
243             }
244         }
245
246         /// <summary>
247         /// (0.0f,0.0f,1.0f,0.0f)
248         /// </summary>
249         public static Vector4 ZAxis
250         {
251             get
252             {
253                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_ZAXIS_get();
254                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
255                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
256                 return ret;
257             }
258         }
259
260         /// <summary>
261         /// (0.0f, 0.0f, 0.0f, 0.0f)
262         /// </summary>
263         public static Vector4 Zero
264         {
265             get
266             {
267                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_ZERO_get();
268                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
269                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
270                 return ret;
271             }
272         }
273
274         internal Vector4 Assign(float[] array)
275         {
276             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Assign__SWIG_0(swigCPtr, array), false);
277             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
278             return ret;
279         }
280
281         internal Vector4 Assign(Vector2 vec2)
282         {
283             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Assign__SWIG_1(swigCPtr, Vector2.getCPtr(vec2)), false);
284             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
285             return ret;
286         }
287
288         internal Vector4 Assign(Vector3 vec3)
289         {
290             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Assign__SWIG_2(swigCPtr, Vector3.getCPtr(vec3)), false);
291             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
292             return ret;
293         }
294
295         internal Vector4 Add(Vector4 rhs)
296         {
297             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Add(swigCPtr, Vector4.getCPtr(rhs)), true);
298             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
299             return ret;
300         }
301
302         internal Vector4 AddAssign(Vector4 rhs)
303         {
304             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_AddAssign(swigCPtr, Vector4.getCPtr(rhs)), false);
305             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
306             return ret;
307         }
308
309         internal Vector4 Subtract(Vector4 rhs)
310         {
311             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Subtract__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), true);
312             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
313             return ret;
314         }
315
316         internal Vector4 SubtractAssign(Vector4 rhs)
317         {
318             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_SubtractAssign(swigCPtr, Vector4.getCPtr(rhs)), false);
319             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
320             return ret;
321         }
322
323         internal Vector4 Multiply(Vector4 rhs)
324         {
325             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Multiply__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), true);
326             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
327             return ret;
328         }
329
330         internal Vector4 Multiply(float rhs)
331         {
332             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Multiply__SWIG_1(swigCPtr, rhs), true);
333             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
334             return ret;
335         }
336
337         internal Vector4 MultiplyAssign(Vector4 rhs)
338         {
339             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), false);
340             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
341             return ret;
342         }
343
344         internal Vector4 MultiplyAssign(float rhs)
345         {
346             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_1(swigCPtr, rhs), false);
347             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
348             return ret;
349         }
350
351         internal Vector4 Divide(Vector4 rhs)
352         {
353             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Divide__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), true);
354             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
355             return ret;
356         }
357
358         internal Vector4 Divide(float rhs)
359         {
360             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Divide__SWIG_1(swigCPtr, rhs), true);
361             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
362             return ret;
363         }
364
365         internal Vector4 DivideAssign(Vector4 rhs)
366         {
367             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_DivideAssign__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), false);
368             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
369             return ret;
370         }
371
372         internal Vector4 DivideAssign(float rhs)
373         {
374             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_DivideAssign__SWIG_1(swigCPtr, rhs), false);
375             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
376             return ret;
377         }
378
379         internal Vector4 Subtract()
380         {
381             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Subtract__SWIG_1(swigCPtr), true);
382             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
383             return ret;
384         }
385
386         internal bool EqualTo(Vector4 rhs)
387         {
388             bool ret = NDalicPINVOKE.Vector4_EqualTo(swigCPtr, Vector4.getCPtr(rhs));
389             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
390             return ret;
391         }
392
393         internal bool NotEqualTo(Vector4 rhs)
394         {
395             bool ret = NDalicPINVOKE.Vector4_NotEqualTo(swigCPtr, Vector4.getCPtr(rhs));
396             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
397             return ret;
398         }
399
400         internal float ValueOfIndex(uint index)
401         {
402             float ret = NDalicPINVOKE.Vector4_ValueOfIndex__SWIG_0(swigCPtr, index);
403             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
404             return ret;
405         }
406
407         internal float Dot(Vector3 other)
408         {
409             float ret = NDalicPINVOKE.Vector4_Dot__SWIG_0(swigCPtr, Vector3.getCPtr(other));
410             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
411             return ret;
412         }
413
414         internal float Dot(Vector4 other)
415         {
416             float ret = NDalicPINVOKE.Vector4_Dot__SWIG_1(swigCPtr, Vector4.getCPtr(other));
417             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
418             return ret;
419         }
420
421         internal float Dot4(Vector4 other)
422         {
423             float ret = NDalicPINVOKE.Vector4_Dot4(swigCPtr, Vector4.getCPtr(other));
424             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
425             return ret;
426         }
427
428         internal Vector4 Cross(Vector4 other)
429         {
430             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Cross(swigCPtr, Vector4.getCPtr(other)), true);
431             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
432             return ret;
433         }
434
435         /// <summary>
436         /// Returns the length of the vector.
437         /// </summary>
438         /// <returns>The length</returns>
439         public float Length()
440         {
441             float ret = NDalicPINVOKE.Vector4_Length(swigCPtr);
442             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
443             return ret;
444         }
445
446         /// <summary>
447         /// Returns the length of the vector squared.<br>
448         /// This is faster than using Length() when performing
449         /// threshold checks as it avoids use of the square root.<br>
450         /// </summary>
451         /// <returns>The length of the vector squared</returns>
452         public float LengthSquared()
453         {
454             float ret = NDalicPINVOKE.Vector4_LengthSquared(swigCPtr);
455             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
456             return ret;
457         }
458
459         /// <summary>
460         /// Normalizes the vector.<br>
461         /// Sets the vector to unit length whilst maintaining its direction.<br>
462         /// </summary>
463         public void Normalize()
464         {
465             NDalicPINVOKE.Vector4_Normalize(swigCPtr);
466             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
467         }
468
469         /// <summary>
470         /// Clamps the vector between minimum and maximum vectors.
471         /// </summary>
472         /// <param name="min">The minimum vector</param>
473         /// <param name="max">The maximum vector</param>
474         public void Clamp(Vector4 min, Vector4 max)
475         {
476             NDalicPINVOKE.Vector4_Clamp(swigCPtr, Vector4.getCPtr(min), Vector4.getCPtr(max));
477             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
478         }
479
480         internal SWIGTYPE_p_float AsFloat()
481         {
482             global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_AsFloat__SWIG_0(swigCPtr);
483             SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);
484             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
485             return ret;
486         }
487
488         /// <summary>
489         /// x component
490         /// </summary>
491         public float X
492         {
493             set
494             {
495                 NDalicPINVOKE.Vector4_X_set(swigCPtr, value);
496                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
497             }
498             get
499             {
500                 float ret = NDalicPINVOKE.Vector4_X_get(swigCPtr);
501                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
502                 return ret;
503             }
504         }
505
506         /// <summary>
507         /// red component
508         /// </summary>
509         public float R
510         {
511             set
512             {
513                 NDalicPINVOKE.Vector4_r_set(swigCPtr, value);
514                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
515             }
516             get
517             {
518                 float ret = NDalicPINVOKE.Vector4_r_get(swigCPtr);
519                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
520                 return ret;
521             }
522         }
523
524         /// <summary>
525         /// s component
526         /// </summary>
527         public float S
528         {
529             set
530             {
531                 NDalicPINVOKE.Vector4_s_set(swigCPtr, value);
532                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
533             }
534             get
535             {
536                 float ret = NDalicPINVOKE.Vector4_s_get(swigCPtr);
537                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
538                 return ret;
539             }
540         }
541
542         /// <summary>
543         /// y component
544         /// </summary>
545         public float Y
546         {
547             set
548             {
549                 NDalicPINVOKE.Vector4_Y_set(swigCPtr, value);
550                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
551             }
552             get
553             {
554                 float ret = NDalicPINVOKE.Vector4_Y_get(swigCPtr);
555                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
556                 return ret;
557             }
558         }
559
560         /// <summary>
561         /// green component
562         /// </summary>
563         public float G
564         {
565             set
566             {
567                 NDalicPINVOKE.Vector4_g_set(swigCPtr, value);
568                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
569             }
570             get
571             {
572                 float ret = NDalicPINVOKE.Vector4_g_get(swigCPtr);
573                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
574                 return ret;
575             }
576         }
577
578         /// <summary>
579         /// t component
580         /// </summary>
581         public float T
582         {
583             set
584             {
585                 NDalicPINVOKE.Vector4_t_set(swigCPtr, value);
586                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
587             }
588             get
589             {
590                 float ret = NDalicPINVOKE.Vector4_t_get(swigCPtr);
591                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
592                 return ret;
593             }
594         }
595
596         /// <summary>
597         /// z component
598         /// </summary>
599         public float Z
600         {
601             set
602             {
603                 NDalicPINVOKE.Vector4_Z_set(swigCPtr, value);
604                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
605             }
606             get
607             {
608                 float ret = NDalicPINVOKE.Vector4_Z_get(swigCPtr);
609                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
610                 return ret;
611             }
612         }
613
614         /// <summary>
615         /// blue component
616         /// </summary>
617         public float B
618         {
619             set
620             {
621                 NDalicPINVOKE.Vector4_b_set(swigCPtr, value);
622                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
623             }
624             get
625             {
626                 float ret = NDalicPINVOKE.Vector4_b_get(swigCPtr);
627                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
628                 return ret;
629             }
630         }
631
632         /// <summary>
633         /// p component
634         /// </summary>
635         public float P
636         {
637             set
638             {
639                 NDalicPINVOKE.Vector4_p_set(swigCPtr, value);
640                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
641             }
642             get
643             {
644                 float ret = NDalicPINVOKE.Vector4_p_get(swigCPtr);
645                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
646                 return ret;
647             }
648         }
649
650         /// <summary>
651         /// w component
652         /// </summary>
653         public float W
654         {
655             set
656             {
657                 NDalicPINVOKE.Vector4_W_set(swigCPtr, value);
658                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
659             }
660             get
661             {
662                 float ret = NDalicPINVOKE.Vector4_W_get(swigCPtr);
663                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
664                 return ret;
665             }
666         }
667
668         /// <summary>
669         /// alpha component
670         /// </summary>
671         public float A
672         {
673             set
674             {
675                 NDalicPINVOKE.Vector4_a_set(swigCPtr, value);
676                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
677             }
678             get
679             {
680                 float ret = NDalicPINVOKE.Vector4_a_get(swigCPtr);
681                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
682                 return ret;
683             }
684         }
685
686         /// <summary>
687         /// q component
688         /// </summary>
689         public float Q
690         {
691             set
692             {
693                 NDalicPINVOKE.Vector4_q_set(swigCPtr, value);
694                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
695             }
696             get
697             {
698                 float ret = NDalicPINVOKE.Vector4_q_get(swigCPtr);
699                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
700                 return ret;
701             }
702         }
703
704     }
705
706 }