dali 1.2.28 version upgrade
[platform/core/csapi/nui.git] / Tizen.NUI / src / public / Vector3.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 Vector3 : global::System.IDisposable\r
37     {\r
38         private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
39         protected bool swigCMemOwn;\r
40 \r
41         internal Vector3(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(Vector3 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         ~Vector3()\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_Vector3(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 Vector3 operator +(Vector3 arg1, Vector3 arg2)\r
82         {\r
83             return arg1.Add(arg2);\r
84         }\r
85 \r
86         public static Vector3 operator -(Vector3 arg1, Vector3 arg2)\r
87         {\r
88             return arg1.Subtract(arg2);\r
89         }\r
90 \r
91         public static Vector3 operator -(Vector3 arg1)\r
92         {\r
93             return arg1.Subtract();\r
94         }\r
95 \r
96         public static Vector3 operator *(Vector3 arg1, Vector3 arg2)\r
97         {\r
98             return arg1.Multiply(arg2);\r
99         }\r
100 \r
101         public static Vector3 operator *(Vector3 arg1, float arg2)\r
102         {\r
103             return arg1.Multiply(arg2);\r
104         }\r
105 \r
106         public static Vector3 operator /(Vector3 arg1, Vector3 arg2)\r
107         {\r
108             return arg1.Divide(arg2);\r
109         }\r
110 \r
111         public static Vector3 operator /(Vector3 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 Vector3 GetVector3FromPtr(global::System.IntPtr cPtr)\r
125         {\r
126             Vector3 ret = new Vector3(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 Vector3() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true)\r
133         {\r
134             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
135         }\r
136 \r
137         public Vector3(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true)\r
138         {\r
139             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
140         }\r
141 \r
142         public Vector3(float[] array) : this(NDalicPINVOKE.new_Vector3__SWIG_2(array), true)\r
143         {\r
144             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
145         }\r
146 \r
147         public Vector3(Vector2 vec2) : this(NDalicPINVOKE.new_Vector3__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 Vector3(Vector4 vec4) : this(NDalicPINVOKE.new_Vector3__SWIG_4(Vector4.getCPtr(vec4)), true)\r
153         {\r
154             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
155         }\r
156 \r
157         public static Vector3 One\r
158         {\r
159             get\r
160             {\r
161                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ONE_get();\r
162                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(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 Vector3 XAxis\r
169         {\r
170             get\r
171             {\r
172                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();\r
173                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(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 Vector3 YAxis\r
180         {\r
181             get\r
182             {\r
183                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();\r
184                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(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 Vector3 ZAxis\r
191         {\r
192             get\r
193             {\r
194                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();\r
195                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(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 Vector3 NegativeXAxis\r
202         {\r
203             get\r
204             {\r
205                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();\r
206                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);\r
207                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
208                 return ret;\r
209             }\r
210         }\r
211 \r
212         public static Vector3 NegativeYAxis\r
213         {\r
214             get\r
215             {\r
216                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();\r
217                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);\r
218                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
219                 return ret;\r
220             }\r
221         }\r
222 \r
223         public static Vector3 NegativeZAxis\r
224         {\r
225             get\r
226             {\r
227                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();\r
228                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);\r
229                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
230                 return ret;\r
231             }\r
232         }\r
233 \r
234         public static Vector3 Zero\r
235         {\r
236             get\r
237             {\r
238                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZERO_get();\r
239                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);\r
240                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
241                 return ret;\r
242             }\r
243         }\r
244 \r
245         internal Vector3 Assign(float[] array)\r
246         {\r
247             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Assign__SWIG_0(swigCPtr, array), false);\r
248             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
249             return ret;\r
250         }\r
251 \r
252         internal Vector3 Assign(Vector2 rhs)\r
253         {\r
254             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Assign__SWIG_1(swigCPtr, Vector2.getCPtr(rhs)), false);\r
255             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
256             return ret;\r
257         }\r
258 \r
259         internal Vector3 Assign(Vector4 rhs)\r
260         {\r
261             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Assign__SWIG_2(swigCPtr, Vector4.getCPtr(rhs)), false);\r
262             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
263             return ret;\r
264         }\r
265 \r
266         internal Vector3 Add(Vector3 rhs)\r
267         {\r
268             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Add(swigCPtr, Vector3.getCPtr(rhs)), true);\r
269             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
270             return ret;\r
271         }\r
272 \r
273         internal Vector3 AddAssign(Vector3 rhs)\r
274         {\r
275             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_AddAssign(swigCPtr, Vector3.getCPtr(rhs)), false);\r
276             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
277             return ret;\r
278         }\r
279 \r
280         internal Vector3 Subtract(Vector3 rhs)\r
281         {\r
282             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Subtract__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), true);\r
283             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
284             return ret;\r
285         }\r
286 \r
287         internal Vector3 SubtractAssign(Vector3 rhs)\r
288         {\r
289             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_SubtractAssign(swigCPtr, Vector3.getCPtr(rhs)), false);\r
290             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
291             return ret;\r
292         }\r
293 \r
294         internal Vector3 Multiply(Vector3 rhs)\r
295         {\r
296             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Multiply__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), true);\r
297             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
298             return ret;\r
299         }\r
300 \r
301         internal Vector3 Multiply(float rhs)\r
302         {\r
303             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Multiply__SWIG_1(swigCPtr, rhs), true);\r
304             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
305             return ret;\r
306         }\r
307 \r
308         internal Vector3 MultiplyAssign(Vector3 rhs)\r
309         {\r
310             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_MultiplyAssign__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), false);\r
311             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
312             return ret;\r
313         }\r
314 \r
315         internal Vector3 MultiplyAssign(float rhs)\r
316         {\r
317             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_MultiplyAssign__SWIG_1(swigCPtr, rhs), false);\r
318             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
319             return ret;\r
320         }\r
321 \r
322         internal Vector3 MultiplyAssign(Rotation rhs)\r
323         {\r
324             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_MultiplyAssign__SWIG_2(swigCPtr, Rotation.getCPtr(rhs)), false);\r
325             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
326             return ret;\r
327         }\r
328 \r
329         internal Vector3 Divide(Vector3 rhs)\r
330         {\r
331             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Divide__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), true);\r
332             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
333             return ret;\r
334         }\r
335 \r
336         internal Vector3 Divide(float rhs)\r
337         {\r
338             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Divide__SWIG_1(swigCPtr, rhs), true);\r
339             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
340             return ret;\r
341         }\r
342 \r
343         internal Vector3 DivideAssign(Vector3 rhs)\r
344         {\r
345             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_DivideAssign__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), false);\r
346             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
347             return ret;\r
348         }\r
349 \r
350         internal Vector3 DivideAssign(float rhs)\r
351         {\r
352             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_DivideAssign__SWIG_1(swigCPtr, rhs), false);\r
353             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
354             return ret;\r
355         }\r
356 \r
357         internal Vector3 Subtract()\r
358         {\r
359             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Subtract__SWIG_1(swigCPtr), true);\r
360             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
361             return ret;\r
362         }\r
363 \r
364         internal bool EqualTo(Vector3 rhs)\r
365         {\r
366             bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, Vector3.getCPtr(rhs));\r
367             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
368             return ret;\r
369         }\r
370 \r
371         internal bool NotEqualTo(Vector3 rhs)\r
372         {\r
373             bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, Vector3.getCPtr(rhs));\r
374             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
375             return ret;\r
376         }\r
377 \r
378         internal float ValueOfIndex(uint index)\r
379         {\r
380             float ret = NDalicPINVOKE.Vector3_ValueOfIndex__SWIG_0(swigCPtr, index);\r
381             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
382             return ret;\r
383         }\r
384 \r
385         internal float Dot(Vector3 other)\r
386         {\r
387             float ret = NDalicPINVOKE.Vector3_Dot(swigCPtr, Vector3.getCPtr(other));\r
388             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
389             return ret;\r
390         }\r
391 \r
392         internal Vector3 Cross(Vector3 other)\r
393         {\r
394             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Cross(swigCPtr, Vector3.getCPtr(other)), true);\r
395             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
396             return ret;\r
397         }\r
398 \r
399         public float Length()\r
400         {\r
401             float ret = NDalicPINVOKE.Vector3_Length(swigCPtr);\r
402             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
403             return ret;\r
404         }\r
405 \r
406         public float LengthSquared()\r
407         {\r
408             float ret = NDalicPINVOKE.Vector3_LengthSquared(swigCPtr);\r
409             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
410             return ret;\r
411         }\r
412 \r
413         public void Normalize()\r
414         {\r
415             NDalicPINVOKE.Vector3_Normalize(swigCPtr);\r
416             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
417         }\r
418 \r
419         public void Clamp(Vector3 min, Vector3 max)\r
420         {\r
421             NDalicPINVOKE.Vector3_Clamp(swigCPtr, Vector3.getCPtr(min), Vector3.getCPtr(max));\r
422             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
423         }\r
424 \r
425         internal SWIGTYPE_p_float AsFloat()\r
426         {\r
427             global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_AsFloat__SWIG_0(swigCPtr);\r
428             SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);\r
429             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
430             return ret;\r
431         }\r
432 \r
433         public Vector2 GetVectorXY()\r
434         {\r
435             Vector2 ret = new Vector2(NDalicPINVOKE.Vector3_GetVectorXY__SWIG_0(swigCPtr), false);\r
436             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
437             return ret;\r
438         }\r
439 \r
440         public Vector2 GetVectorYZ()\r
441         {\r
442             Vector2 ret = new Vector2(NDalicPINVOKE.Vector3_GetVectorYZ__SWIG_0(swigCPtr), false);\r
443             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
444             return ret;\r
445         }\r
446 \r
447         public float X\r
448         {\r
449             set\r
450             {\r
451                 NDalicPINVOKE.Vector3_X_set(swigCPtr, value);\r
452                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
453             }\r
454             get\r
455             {\r
456                 float ret = NDalicPINVOKE.Vector3_X_get(swigCPtr);\r
457                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
458                 return ret;\r
459             }\r
460         }\r
461 \r
462         public float Width\r
463         {\r
464             set\r
465             {\r
466                 NDalicPINVOKE.Vector3_Width_set(swigCPtr, value);\r
467                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
468             }\r
469             get\r
470             {\r
471                 float ret = NDalicPINVOKE.Vector3_Width_get(swigCPtr);\r
472                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
473                 return ret;\r
474             }\r
475         }\r
476 \r
477         public float R\r
478         {\r
479             set\r
480             {\r
481                 NDalicPINVOKE.Vector3_r_set(swigCPtr, value);\r
482                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
483             }\r
484             get\r
485             {\r
486                 float ret = NDalicPINVOKE.Vector3_r_get(swigCPtr);\r
487                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
488                 return ret;\r
489             }\r
490         }\r
491 \r
492         public float Y\r
493         {\r
494             set\r
495             {\r
496                 NDalicPINVOKE.Vector3_Y_set(swigCPtr, value);\r
497                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
498             }\r
499             get\r
500             {\r
501                 float ret = NDalicPINVOKE.Vector3_Y_get(swigCPtr);\r
502                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
503                 return ret;\r
504             }\r
505         }\r
506 \r
507         public float Height\r
508         {\r
509             set\r
510             {\r
511                 NDalicPINVOKE.Vector3_Height_set(swigCPtr, value);\r
512                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
513             }\r
514             get\r
515             {\r
516                 float ret = NDalicPINVOKE.Vector3_Height_get(swigCPtr);\r
517                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
518                 return ret;\r
519             }\r
520         }\r
521 \r
522         public float G\r
523         {\r
524             set\r
525             {\r
526                 NDalicPINVOKE.Vector3_g_set(swigCPtr, value);\r
527                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
528             }\r
529             get\r
530             {\r
531                 float ret = NDalicPINVOKE.Vector3_g_get(swigCPtr);\r
532                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
533                 return ret;\r
534             }\r
535         }\r
536 \r
537         public float Z\r
538         {\r
539             set\r
540             {\r
541                 NDalicPINVOKE.Vector3_Z_set(swigCPtr, value);\r
542                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
543             }\r
544             get\r
545             {\r
546                 float ret = NDalicPINVOKE.Vector3_Z_get(swigCPtr);\r
547                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
548                 return ret;\r
549             }\r
550         }\r
551 \r
552         public float Depth\r
553         {\r
554             set\r
555             {\r
556                 NDalicPINVOKE.Vector3_Depth_set(swigCPtr, value);\r
557                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
558             }\r
559             get\r
560             {\r
561                 float ret = NDalicPINVOKE.Vector3_Depth_get(swigCPtr);\r
562                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
563                 return ret;\r
564             }\r
565         }\r
566 \r
567         public float B\r
568         {\r
569             set\r
570             {\r
571                 NDalicPINVOKE.Vector3_b_set(swigCPtr, value);\r
572                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
573             }\r
574             get\r
575             {\r
576                 float ret = NDalicPINVOKE.Vector3_b_get(swigCPtr);\r
577                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
578                 return ret;\r
579             }\r
580         }\r
581 \r
582     }\r
583 \r
584 }\r