dali 1.2.28 version upgrade
[platform/core/csapi/nui.git] / Tizen.NUI / src / public / Vector4.cs
1 // Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
2 // PROPRIETARY/CONFIDENTIAL \r
3 // This software is the confidential and proprietary\r
4 // information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
5 // not disclose such Confidential Information and shall use it only in\r
6 // accordance with the terms of the license agreement you entered into with\r
7 // SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
8 // suitability of the software, either express or implied, including but not\r
9 // limited to the implied warranties of merchantability, fitness for a\r
10 // particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
11 // damages suffered by licensee as a result of using, modifying or distributing\r
12 // this software or its derivatives.\r
13 \r
14 // Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
15 //\r
16 // Licensed under the Apache License, Version 2.0 (the "License");\r
17 // you may not use this file except in compliance with the License.\r
18 // You may obtain a copy of the License at\r
19 //\r
20 // http://www.apache.org/licenses/LICENSE-2.0\r
21 //\r
22 // Unless required by applicable law or agreed to in writing, software\r
23 // distributed under the License is distributed on an "AS IS" BASIS,\r
24 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
25 // See the License for the specific language governing permissions and\r
26 // limitations under the License.\r
27 //\r
28 \r
29 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
30 // Some have been manually changed\r
31 \r
32 \r
33 namespace Tizen.NUI\r
34 {\r
35 \r
36     public class Vector4 : global::System.IDisposable\r
37     {\r
38         private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
39         protected bool swigCMemOwn;\r
40 \r
41         internal Vector4(global::System.IntPtr cPtr, bool cMemoryOwn)\r
42         {\r
43             swigCMemOwn = cMemoryOwn;\r
44             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
45         }\r
46 \r
47         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Vector4 obj)\r
48         {\r
49             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
50         }\r
51 \r
52         ~Vector4()\r
53         {\r
54             DisposeQueue.Instance.Add(this);\r
55         }\r
56 \r
57         public virtual void Dispose()\r
58         {\r
59             if (!Stage.IsInstalled())\r
60             {\r
61                 DisposeQueue.Instance.Add(this);\r
62                 return;\r
63             }\r
64 \r
65             lock (this)\r
66             {\r
67                 if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
68                 {\r
69                     if (swigCMemOwn)\r
70                     {\r
71                         swigCMemOwn = false;\r
72                         NDalicPINVOKE.delete_Vector4(swigCPtr);\r
73                     }\r
74                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
75                 }\r
76                 global::System.GC.SuppressFinalize(this);\r
77             }\r
78         }\r
79 \r
80 \r
81         public static Vector4 operator +(Vector4 arg1, Vector4 arg2)\r
82         {\r
83             return arg1.Add(arg2);\r
84         }\r
85 \r
86         public static Vector4 operator -(Vector4 arg1, Vector4 arg2)\r
87         {\r
88             return arg1.Subtract(arg2);\r
89         }\r
90 \r
91         public static Vector4 operator -(Vector4 arg1)\r
92         {\r
93             return arg1.Subtract();\r
94         }\r
95 \r
96         public static Vector4 operator *(Vector4 arg1, Vector4 arg2)\r
97         {\r
98             return arg1.Multiply(arg2);\r
99         }\r
100 \r
101         public static Vector4 operator *(Vector4 arg1, float arg2)\r
102         {\r
103             return arg1.Multiply(arg2);\r
104         }\r
105 \r
106         public static Vector4 operator /(Vector4 arg1, Vector4 arg2)\r
107         {\r
108             return arg1.Divide(arg2);\r
109         }\r
110 \r
111         public static Vector4 operator /(Vector4 arg1, float arg2)\r
112         {\r
113             return arg1.Divide(arg2);\r
114         }\r
115 \r
116         public float this[uint index]\r
117         {\r
118             get\r
119             {\r
120                 return ValueOfIndex(index);\r
121             }\r
122         }\r
123 \r
124         internal static Vector4 GetVector4FromPtr(global::System.IntPtr cPtr)\r
125         {\r
126             Vector4 ret = new Vector4(cPtr, false);\r
127             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
128             return ret;\r
129         }\r
130 \r
131 \r
132         public Vector4() : this(NDalicPINVOKE.new_Vector4__SWIG_0(), true)\r
133         {\r
134             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
135         }\r
136 \r
137         public Vector4(float x, float y, float z, float w) : this(NDalicPINVOKE.new_Vector4__SWIG_1(x, y, z, w), true)\r
138         {\r
139             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
140         }\r
141 \r
142         public Vector4(float[] array) : this(NDalicPINVOKE.new_Vector4__SWIG_2(array), true)\r
143         {\r
144             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
145         }\r
146 \r
147         public Vector4(Vector2 vec2) : this(NDalicPINVOKE.new_Vector4__SWIG_3(Vector2.getCPtr(vec2)), true)\r
148         {\r
149             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
150         }\r
151 \r
152         public Vector4(Vector3 vec3) : this(NDalicPINVOKE.new_Vector4__SWIG_4(Vector3.getCPtr(vec3)), true)\r
153         {\r
154             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
155         }\r
156 \r
157         public static Vector4 One\r
158         {\r
159             get\r
160             {\r
161                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_ONE_get();\r
162                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);\r
163                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
164                 return ret;\r
165             }\r
166         }\r
167 \r
168         public static Vector4 XAxis\r
169         {\r
170             get\r
171             {\r
172                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_XAXIS_get();\r
173                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);\r
174                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
175                 return ret;\r
176             }\r
177         }\r
178 \r
179         public static Vector4 YAxis\r
180         {\r
181             get\r
182             {\r
183                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_YAXIS_get();\r
184                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);\r
185                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
186                 return ret;\r
187             }\r
188         }\r
189 \r
190         public static Vector4 ZAxis\r
191         {\r
192             get\r
193             {\r
194                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_ZAXIS_get();\r
195                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);\r
196                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
197                 return ret;\r
198             }\r
199         }\r
200 \r
201         public static Vector4 Zero\r
202         {\r
203             get\r
204             {\r
205                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_ZERO_get();\r
206                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);\r
207                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
208                 return ret;\r
209             }\r
210         }\r
211 \r
212         internal Vector4 Assign(float[] array)\r
213         {\r
214             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Assign__SWIG_0(swigCPtr, array), false);\r
215             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
216             return ret;\r
217         }\r
218 \r
219         internal Vector4 Assign(Vector2 vec2)\r
220         {\r
221             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Assign__SWIG_1(swigCPtr, Vector2.getCPtr(vec2)), false);\r
222             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
223             return ret;\r
224         }\r
225 \r
226         internal Vector4 Assign(Vector3 vec3)\r
227         {\r
228             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Assign__SWIG_2(swigCPtr, Vector3.getCPtr(vec3)), false);\r
229             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
230             return ret;\r
231         }\r
232 \r
233         internal Vector4 Add(Vector4 rhs)\r
234         {\r
235             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Add(swigCPtr, Vector4.getCPtr(rhs)), true);\r
236             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
237             return ret;\r
238         }\r
239 \r
240         internal Vector4 AddAssign(Vector4 rhs)\r
241         {\r
242             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_AddAssign(swigCPtr, Vector4.getCPtr(rhs)), false);\r
243             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
244             return ret;\r
245         }\r
246 \r
247         internal Vector4 Subtract(Vector4 rhs)\r
248         {\r
249             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Subtract__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), true);\r
250             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
251             return ret;\r
252         }\r
253 \r
254         internal Vector4 SubtractAssign(Vector4 rhs)\r
255         {\r
256             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_SubtractAssign(swigCPtr, Vector4.getCPtr(rhs)), false);\r
257             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
258             return ret;\r
259         }\r
260 \r
261         internal Vector4 Multiply(Vector4 rhs)\r
262         {\r
263             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Multiply__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), true);\r
264             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
265             return ret;\r
266         }\r
267 \r
268         internal Vector4 Multiply(float rhs)\r
269         {\r
270             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Multiply__SWIG_1(swigCPtr, rhs), true);\r
271             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
272             return ret;\r
273         }\r
274 \r
275         internal Vector4 MultiplyAssign(Vector4 rhs)\r
276         {\r
277             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), false);\r
278             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
279             return ret;\r
280         }\r
281 \r
282         internal Vector4 MultiplyAssign(float rhs)\r
283         {\r
284             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_1(swigCPtr, rhs), false);\r
285             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
286             return ret;\r
287         }\r
288 \r
289         internal Vector4 Divide(Vector4 rhs)\r
290         {\r
291             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Divide__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), true);\r
292             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
293             return ret;\r
294         }\r
295 \r
296         internal Vector4 Divide(float rhs)\r
297         {\r
298             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Divide__SWIG_1(swigCPtr, rhs), true);\r
299             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
300             return ret;\r
301         }\r
302 \r
303         internal Vector4 DivideAssign(Vector4 rhs)\r
304         {\r
305             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_DivideAssign__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), false);\r
306             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
307             return ret;\r
308         }\r
309 \r
310         internal Vector4 DivideAssign(float rhs)\r
311         {\r
312             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_DivideAssign__SWIG_1(swigCPtr, rhs), false);\r
313             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
314             return ret;\r
315         }\r
316 \r
317         internal Vector4 Subtract()\r
318         {\r
319             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Subtract__SWIG_1(swigCPtr), true);\r
320             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
321             return ret;\r
322         }\r
323 \r
324         internal bool EqualTo(Vector4 rhs)\r
325         {\r
326             bool ret = NDalicPINVOKE.Vector4_EqualTo(swigCPtr, Vector4.getCPtr(rhs));\r
327             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
328             return ret;\r
329         }\r
330 \r
331         internal bool NotEqualTo(Vector4 rhs)\r
332         {\r
333             bool ret = NDalicPINVOKE.Vector4_NotEqualTo(swigCPtr, Vector4.getCPtr(rhs));\r
334             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
335             return ret;\r
336         }\r
337 \r
338         internal float ValueOfIndex(uint index)\r
339         {\r
340             float ret = NDalicPINVOKE.Vector4_ValueOfIndex__SWIG_0(swigCPtr, index);\r
341             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
342             return ret;\r
343         }\r
344 \r
345         internal float Dot(Vector3 other)\r
346         {\r
347             float ret = NDalicPINVOKE.Vector4_Dot__SWIG_0(swigCPtr, Vector3.getCPtr(other));\r
348             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
349             return ret;\r
350         }\r
351 \r
352         internal float Dot(Vector4 other)\r
353         {\r
354             float ret = NDalicPINVOKE.Vector4_Dot__SWIG_1(swigCPtr, Vector4.getCPtr(other));\r
355             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
356             return ret;\r
357         }\r
358 \r
359         internal float Dot4(Vector4 other)\r
360         {\r
361             float ret = NDalicPINVOKE.Vector4_Dot4(swigCPtr, Vector4.getCPtr(other));\r
362             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
363             return ret;\r
364         }\r
365 \r
366         internal Vector4 Cross(Vector4 other)\r
367         {\r
368             Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Cross(swigCPtr, Vector4.getCPtr(other)), true);\r
369             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
370             return ret;\r
371         }\r
372 \r
373         public float Length()\r
374         {\r
375             float ret = NDalicPINVOKE.Vector4_Length(swigCPtr);\r
376             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
377             return ret;\r
378         }\r
379 \r
380         public float LengthSquared()\r
381         {\r
382             float ret = NDalicPINVOKE.Vector4_LengthSquared(swigCPtr);\r
383             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
384             return ret;\r
385         }\r
386 \r
387         public void Normalize()\r
388         {\r
389             NDalicPINVOKE.Vector4_Normalize(swigCPtr);\r
390             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
391         }\r
392 \r
393         public void Clamp(Vector4 min, Vector4 max)\r
394         {\r
395             NDalicPINVOKE.Vector4_Clamp(swigCPtr, Vector4.getCPtr(min), Vector4.getCPtr(max));\r
396             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
397         }\r
398 \r
399         internal SWIGTYPE_p_float AsFloat()\r
400         {\r
401             global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_AsFloat__SWIG_0(swigCPtr);\r
402             SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);\r
403             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
404             return ret;\r
405         }\r
406 \r
407         public float X\r
408         {\r
409             set\r
410             {\r
411                 NDalicPINVOKE.Vector4_X_set(swigCPtr, value);\r
412                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
413             }\r
414             get\r
415             {\r
416                 float ret = NDalicPINVOKE.Vector4_X_get(swigCPtr);\r
417                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
418                 return ret;\r
419             }\r
420         }\r
421 \r
422         public float R\r
423         {\r
424             set\r
425             {\r
426                 NDalicPINVOKE.Vector4_r_set(swigCPtr, value);\r
427                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
428             }\r
429             get\r
430             {\r
431                 float ret = NDalicPINVOKE.Vector4_r_get(swigCPtr);\r
432                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
433                 return ret;\r
434             }\r
435         }\r
436 \r
437         public float S\r
438         {\r
439             set\r
440             {\r
441                 NDalicPINVOKE.Vector4_s_set(swigCPtr, value);\r
442                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
443             }\r
444             get\r
445             {\r
446                 float ret = NDalicPINVOKE.Vector4_s_get(swigCPtr);\r
447                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
448                 return ret;\r
449             }\r
450         }\r
451 \r
452         public float Y\r
453         {\r
454             set\r
455             {\r
456                 NDalicPINVOKE.Vector4_Y_set(swigCPtr, value);\r
457                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
458             }\r
459             get\r
460             {\r
461                 float ret = NDalicPINVOKE.Vector4_Y_get(swigCPtr);\r
462                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
463                 return ret;\r
464             }\r
465         }\r
466 \r
467         public float G\r
468         {\r
469             set\r
470             {\r
471                 NDalicPINVOKE.Vector4_g_set(swigCPtr, value);\r
472                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
473             }\r
474             get\r
475             {\r
476                 float ret = NDalicPINVOKE.Vector4_g_get(swigCPtr);\r
477                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
478                 return ret;\r
479             }\r
480         }\r
481 \r
482         public float T\r
483         {\r
484             set\r
485             {\r
486                 NDalicPINVOKE.Vector4_t_set(swigCPtr, value);\r
487                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
488             }\r
489             get\r
490             {\r
491                 float ret = NDalicPINVOKE.Vector4_t_get(swigCPtr);\r
492                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
493                 return ret;\r
494             }\r
495         }\r
496 \r
497         public float Z\r
498         {\r
499             set\r
500             {\r
501                 NDalicPINVOKE.Vector4_Z_set(swigCPtr, value);\r
502                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
503             }\r
504             get\r
505             {\r
506                 float ret = NDalicPINVOKE.Vector4_Z_get(swigCPtr);\r
507                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
508                 return ret;\r
509             }\r
510         }\r
511 \r
512         public float B\r
513         {\r
514             set\r
515             {\r
516                 NDalicPINVOKE.Vector4_b_set(swigCPtr, value);\r
517                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
518             }\r
519             get\r
520             {\r
521                 float ret = NDalicPINVOKE.Vector4_b_get(swigCPtr);\r
522                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
523                 return ret;\r
524             }\r
525         }\r
526 \r
527         public float P\r
528         {\r
529             set\r
530             {\r
531                 NDalicPINVOKE.Vector4_p_set(swigCPtr, value);\r
532                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
533             }\r
534             get\r
535             {\r
536                 float ret = NDalicPINVOKE.Vector4_p_get(swigCPtr);\r
537                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
538                 return ret;\r
539             }\r
540         }\r
541 \r
542         public float W\r
543         {\r
544             set\r
545             {\r
546                 NDalicPINVOKE.Vector4_W_set(swigCPtr, value);\r
547                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
548             }\r
549             get\r
550             {\r
551                 float ret = NDalicPINVOKE.Vector4_W_get(swigCPtr);\r
552                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
553                 return ret;\r
554             }\r
555         }\r
556 \r
557         public float A\r
558         {\r
559             set\r
560             {\r
561                 NDalicPINVOKE.Vector4_a_set(swigCPtr, value);\r
562                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
563             }\r
564             get\r
565             {\r
566                 float ret = NDalicPINVOKE.Vector4_a_get(swigCPtr);\r
567                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
568                 return ret;\r
569             }\r
570         }\r
571 \r
572         public float Q\r
573         {\r
574             set\r
575             {\r
576                 NDalicPINVOKE.Vector4_q_set(swigCPtr, value);\r
577                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
578             }\r
579             get\r
580             {\r
581                 float ret = NDalicPINVOKE.Vector4_q_get(swigCPtr);\r
582                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
583                 return ret;\r
584             }\r
585         }\r
586 \r
587     }\r
588 \r
589 }\r