nui 0.2.28 release
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Vector3.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 three dimensional vector.
16     /// </summary>
17     public class Vector3 : global::System.IDisposable
18     {
19         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
20         protected bool swigCMemOwn;
21
22         internal Vector3(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(Vector3 obj)
29         {
30             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
31         }
32
33         ~Vector3()
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_Vector3(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 Vector3 operator +(Vector3 arg1, Vector3 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 Vector3 operator -(Vector3 arg1, Vector3 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 Vector3 operator -(Vector3 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 Vector3 operator *(Vector3 arg1, Vector3 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 Vector3 operator *(Vector3 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 Vector3 operator /(Vector3 arg1, Vector3 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 Vector3 operator /(Vector3 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 Vector3 GetVector3FromPtr(global::System.IntPtr cPtr)
151         {
152             Vector3 ret = new Vector3(cPtr, false);
153             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
154             return ret;
155         }
156
157         /// <summary>
158         /// Constructor.
159         /// </summary>
160         public Vector3() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true)
161         {
162             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
163         }
164
165         /// <summary>
166         /// Default constructor, initializes the vector to 0.
167         /// </summary>
168         /// <param name="x">x (or width) component</param>
169         /// <param name="y">y (or height) component</param>
170         /// <param name="z">z (or depth) component</param>
171         public Vector3(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true)
172         {
173             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
174         }
175
176         /// <summary>
177         /// Conversion constructor from an array of three floats.
178         /// </summary>
179         /// <param name="array">Array of xyz</param>
180         public Vector3(float[] array) : this(NDalicPINVOKE.new_Vector3__SWIG_2(array), true)
181         {
182             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
183         }
184
185         /// <summary>
186         /// Constructor.
187         /// </summary>
188         /// <param name="vec2">Vector2 to create this vector from</param>
189         public Vector3(Vector2 vec2) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Vector2.getCPtr(vec2)), true)
190         {
191             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
192         }
193
194         /// <summary>
195         /// Constructor
196         /// </summary>
197         /// <param name="vec4">Vector4 to create this vector from</param>
198         public Vector3(Vector4 vec4) : this(NDalicPINVOKE.new_Vector3__SWIG_4(Vector4.getCPtr(vec4)), true)
199         {
200             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
201         }
202
203         /// <summary>
204         /// (1.0f,1.0f,1.0f)
205         /// </summary>
206         public static Vector3 One
207         {
208             get
209             {
210                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ONE_get();
211                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
212                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
213                 return ret;
214             }
215         }
216
217         /// <summary>
218         /// Vector representing the X axis
219         /// </summary>
220         public static Vector3 XAxis
221         {
222             get
223             {
224                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
225                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
226                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
227                 return ret;
228             }
229         }
230
231         /// <summary>
232         /// Vector representing the Y axis
233         /// </summary>
234         public static Vector3 YAxis
235         {
236             get
237             {
238                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
239                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
240                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
241                 return ret;
242             }
243         }
244
245         /// <summary>
246         /// Vector representing the Z axis
247         /// </summary>
248         public static Vector3 ZAxis
249         {
250             get
251             {
252                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
253                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
254                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
255                 return ret;
256             }
257         }
258
259         /// <summary>
260         /// Vector representing the negative X axis
261         /// </summary>
262         public static Vector3 NegativeXAxis
263         {
264             get
265             {
266                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
267                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
268                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
269                 return ret;
270             }
271         }
272
273         /// <summary>
274         /// Vector representing the negative Y axis
275         /// </summary>
276         public static Vector3 NegativeYAxis
277         {
278             get
279             {
280                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
281                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
282                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
283                 return ret;
284             }
285         }
286
287         /// <summary>
288         /// Vector representing the negative Z axis
289         /// </summary>
290         public static Vector3 NegativeZAxis
291         {
292             get
293             {
294                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
295                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
296                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
297                 return ret;
298             }
299         }
300
301         /// <summary>
302         /// (0.0f, 0.0f, 0.0f)
303         /// </summary>
304         public static Vector3 Zero
305         {
306             get
307             {
308                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZERO_get();
309                 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
310                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
311                 return ret;
312             }
313         }
314
315         internal Vector3 Assign(float[] array)
316         {
317             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Assign__SWIG_0(swigCPtr, array), false);
318             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
319             return ret;
320         }
321
322         internal Vector3 Assign(Vector2 rhs)
323         {
324             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Assign__SWIG_1(swigCPtr, Vector2.getCPtr(rhs)), false);
325             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
326             return ret;
327         }
328
329         internal Vector3 Assign(Vector4 rhs)
330         {
331             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Assign__SWIG_2(swigCPtr, Vector4.getCPtr(rhs)), false);
332             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
333             return ret;
334         }
335
336         internal Vector3 Add(Vector3 rhs)
337         {
338             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Add(swigCPtr, Vector3.getCPtr(rhs)), true);
339             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
340             return ret;
341         }
342
343         internal Vector3 AddAssign(Vector3 rhs)
344         {
345             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_AddAssign(swigCPtr, Vector3.getCPtr(rhs)), false);
346             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
347             return ret;
348         }
349
350         internal Vector3 Subtract(Vector3 rhs)
351         {
352             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Subtract__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), true);
353             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
354             return ret;
355         }
356
357         internal Vector3 SubtractAssign(Vector3 rhs)
358         {
359             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_SubtractAssign(swigCPtr, Vector3.getCPtr(rhs)), false);
360             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
361             return ret;
362         }
363
364         internal Vector3 Multiply(Vector3 rhs)
365         {
366             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Multiply__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), true);
367             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
368             return ret;
369         }
370
371         internal Vector3 Multiply(float rhs)
372         {
373             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Multiply__SWIG_1(swigCPtr, rhs), true);
374             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
375             return ret;
376         }
377
378         internal Vector3 MultiplyAssign(Vector3 rhs)
379         {
380             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_MultiplyAssign__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), false);
381             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
382             return ret;
383         }
384
385         internal Vector3 MultiplyAssign(float rhs)
386         {
387             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_MultiplyAssign__SWIG_1(swigCPtr, rhs), false);
388             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
389             return ret;
390         }
391
392         internal Vector3 MultiplyAssign(Rotation rhs)
393         {
394             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_MultiplyAssign__SWIG_2(swigCPtr, Rotation.getCPtr(rhs)), false);
395             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
396             return ret;
397         }
398
399         internal Vector3 Divide(Vector3 rhs)
400         {
401             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Divide__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), true);
402             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
403             return ret;
404         }
405
406         internal Vector3 Divide(float rhs)
407         {
408             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Divide__SWIG_1(swigCPtr, rhs), true);
409             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
410             return ret;
411         }
412
413         internal Vector3 DivideAssign(Vector3 rhs)
414         {
415             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_DivideAssign__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), false);
416             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
417             return ret;
418         }
419
420         internal Vector3 DivideAssign(float rhs)
421         {
422             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_DivideAssign__SWIG_1(swigCPtr, rhs), false);
423             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
424             return ret;
425         }
426
427         internal Vector3 Subtract()
428         {
429             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Subtract__SWIG_1(swigCPtr), true);
430             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
431             return ret;
432         }
433
434         internal bool EqualTo(Vector3 rhs)
435         {
436             bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, Vector3.getCPtr(rhs));
437             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
438             return ret;
439         }
440
441         internal bool NotEqualTo(Vector3 rhs)
442         {
443             bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, Vector3.getCPtr(rhs));
444             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
445             return ret;
446         }
447
448         internal float ValueOfIndex(uint index)
449         {
450             float ret = NDalicPINVOKE.Vector3_ValueOfIndex__SWIG_0(swigCPtr, index);
451             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
452             return ret;
453         }
454
455         internal float Dot(Vector3 other)
456         {
457             float ret = NDalicPINVOKE.Vector3_Dot(swigCPtr, Vector3.getCPtr(other));
458             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
459             return ret;
460         }
461
462         internal Vector3 Cross(Vector3 other)
463         {
464             Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Cross(swigCPtr, Vector3.getCPtr(other)), true);
465             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
466             return ret;
467         }
468
469         /// <summary>
470         /// Returns the length of the vector.
471         /// </summary>
472         /// <returns>The length of the vector</returns>
473         public float Length()
474         {
475             float ret = NDalicPINVOKE.Vector3_Length(swigCPtr);
476             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
477             return ret;
478         }
479
480         /// <summary>
481         /// Returns the length of the vector squared.<br>
482         /// This is more efficient than Length() for threshold
483         /// testing as it avoids the use of a square root.<br>
484         /// </summary>
485         /// <returns>The length of the vector squared</returns>
486         public float LengthSquared()
487         {
488             float ret = NDalicPINVOKE.Vector3_LengthSquared(swigCPtr);
489             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
490             return ret;
491         }
492
493         /// <summary>
494         /// Sets the vector to be unit length, whilst maintaining its direction.
495         /// </summary>
496         public void Normalize()
497         {
498             NDalicPINVOKE.Vector3_Normalize(swigCPtr);
499             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
500         }
501
502         /// <summary>
503         /// Clamps the vector between minimum and maximum vectors.
504         /// </summary>
505         /// <param name="min">The minimum vector</param>
506         /// <param name="max">The maximum vector</param>
507         public void Clamp(Vector3 min, Vector3 max)
508         {
509             NDalicPINVOKE.Vector3_Clamp(swigCPtr, Vector3.getCPtr(min), Vector3.getCPtr(max));
510             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
511         }
512
513         internal SWIGTYPE_p_float AsFloat()
514         {
515             global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_AsFloat__SWIG_0(swigCPtr);
516             SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);
517             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
518             return ret;
519         }
520
521         /// <summary>
522         /// Returns the x & y components (or width & height, or r & g) as a Vector2.
523         /// </summary>
524         /// <returns>The partial vector contents as Vector2 (x,y)</returns>
525         public Vector2 GetVectorXY()
526         {
527             Vector2 ret = new Vector2(NDalicPINVOKE.Vector3_GetVectorXY__SWIG_0(swigCPtr), false);
528             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
529             return ret;
530         }
531
532         /// <summary>
533         /// Returns the y & z components (or height & depth, or g & b) as a Vector2.
534         /// </summary>
535         /// <returns>The partial vector contents as Vector2 (y,z)</returns>
536         public Vector2 GetVectorYZ()
537         {
538             Vector2 ret = new Vector2(NDalicPINVOKE.Vector3_GetVectorYZ__SWIG_0(swigCPtr), false);
539             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
540             return ret;
541         }
542
543         /// <summary>
544         /// x component
545         /// </summary>
546         public float X
547         {
548             set
549             {
550                 NDalicPINVOKE.Vector3_X_set(swigCPtr, value);
551                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
552             }
553             get
554             {
555                 float ret = NDalicPINVOKE.Vector3_X_get(swigCPtr);
556                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
557                 return ret;
558             }
559         }
560
561         /// <summary>
562         /// width component
563         /// </summary>
564         public float Width
565         {
566             set
567             {
568                 NDalicPINVOKE.Vector3_Width_set(swigCPtr, value);
569                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
570             }
571             get
572             {
573                 float ret = NDalicPINVOKE.Vector3_Width_get(swigCPtr);
574                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
575                 return ret;
576             }
577         }
578
579         /// <summary>
580         /// red component
581         /// </summary>
582         public float R
583         {
584             set
585             {
586                 NDalicPINVOKE.Vector3_r_set(swigCPtr, value);
587                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
588             }
589             get
590             {
591                 float ret = NDalicPINVOKE.Vector3_r_get(swigCPtr);
592                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
593                 return ret;
594             }
595         }
596
597         /// <summary>
598         /// y component
599         /// </summary>
600         public float Y
601         {
602             set
603             {
604                 NDalicPINVOKE.Vector3_Y_set(swigCPtr, value);
605                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
606             }
607             get
608             {
609                 float ret = NDalicPINVOKE.Vector3_Y_get(swigCPtr);
610                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
611                 return ret;
612             }
613         }
614
615         /// <summary>
616         /// height component
617         /// </summary>
618         public float Height
619         {
620             set
621             {
622                 NDalicPINVOKE.Vector3_Height_set(swigCPtr, value);
623                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
624             }
625             get
626             {
627                 float ret = NDalicPINVOKE.Vector3_Height_get(swigCPtr);
628                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
629                 return ret;
630             }
631         }
632
633         /// <summary>
634         /// green component
635         /// </summary>
636         public float G
637         {
638             set
639             {
640                 NDalicPINVOKE.Vector3_g_set(swigCPtr, value);
641                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
642             }
643             get
644             {
645                 float ret = NDalicPINVOKE.Vector3_g_get(swigCPtr);
646                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
647                 return ret;
648             }
649         }
650
651         /// <summary>
652         /// z component
653         /// </summary>
654         public float Z
655         {
656             set
657             {
658                 NDalicPINVOKE.Vector3_Z_set(swigCPtr, value);
659                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
660             }
661             get
662             {
663                 float ret = NDalicPINVOKE.Vector3_Z_get(swigCPtr);
664                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
665                 return ret;
666             }
667         }
668
669         /// <summary>
670         /// depth component
671         /// </summary>
672         public float Depth
673         {
674             set
675             {
676                 NDalicPINVOKE.Vector3_Depth_set(swigCPtr, value);
677                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
678             }
679             get
680             {
681                 float ret = NDalicPINVOKE.Vector3_Depth_get(swigCPtr);
682                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
683                 return ret;
684             }
685         }
686
687         /// <summary>
688         /// blue component
689         /// </summary>
690         public float B
691         {
692             set
693             {
694                 NDalicPINVOKE.Vector3_b_set(swigCPtr, value);
695                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
696             }
697             get
698             {
699                 float ret = NDalicPINVOKE.Vector3_b_get(swigCPtr);
700                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
701                 return ret;
702             }
703         }
704
705     }
706
707 }