2 * Copyright(c) 2019 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 using System.ComponentModel;
23 /// A value-type representing a property value.
25 /// <since_tizen> 3 </since_tizen>
26 public class PropertyValue : Disposable
30 /// Creates a Size2D property value.
32 /// <param name="vectorValue">Size2D values.</param>
33 /// <since_tizen> 3 </since_tizen>
34 public PropertyValue(Size2D vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)
36 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
40 /// Creates a Position2D property value.
42 /// <param name="vectorValue">Position2D values.</param>
43 /// <since_tizen> 3 </since_tizen>
44 public PropertyValue(Position2D vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true)
46 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
50 /// Creates a Position property value.
52 /// <param name="vectorValue">Position values.</param>
53 /// <since_tizen> 3 </since_tizen>
54 public PropertyValue(Position vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)
56 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
60 /// Creates a Color property value.
62 /// <param name="vectorValue">Color values.</param>
63 /// <since_tizen> 3 </since_tizen>
64 public PropertyValue(Color vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)
66 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
70 /// The default constructor.
72 /// <since_tizen> 3 </since_tizen>
73 public PropertyValue() : this(Interop.PropertyValue.new_Property_Value__SWIG_0(), true)
75 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
79 /// Creates a boolean property value.
81 /// <param name="boolValue">A boolean value.</param>
82 /// <since_tizen> 3 </since_tizen>
83 public PropertyValue(bool boolValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_1(boolValue), true)
85 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
89 /// Creates an integer property value.
91 /// <param name="integerValue">An integer value.</param>
92 /// <since_tizen> 3 </since_tizen>
93 public PropertyValue(int integerValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_2(integerValue), true)
95 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
99 /// Creates a float property value.
101 /// <param name="floatValue">A floating-point value.</param>
102 /// <since_tizen> 3 </since_tizen>
103 public PropertyValue(float floatValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_3(floatValue), true)
105 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
109 /// Creates a Vector2 property value.
111 /// <param name="vectorValue">A vector of 2 floating-point values.</param>
112 /// <since_tizen> 3 </since_tizen>
113 public PropertyValue(Vector2 vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)
115 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
119 /// Creates a Vector3 property value.
121 /// <param name="vectorValue">A vector of 3 floating-point values.</param>
122 /// <since_tizen> 3 </since_tizen>
123 public PropertyValue(Vector3 vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)
125 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
129 /// Creates a Vector4 property value.
131 /// <param name="vectorValue">A vector of 4 floating-point values.</param>
132 /// <since_tizen> 3 </since_tizen>
133 public PropertyValue(Vector4 vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)
135 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
139 /// Creates a Rectangle property value.
141 /// <param name="vectorValue">Rectangle values.</param>
142 /// <since_tizen> 3 </since_tizen>
143 public PropertyValue(Rectangle vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true)
145 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
149 /// Creates a Rotation property value.
151 /// <param name="quaternion">Rotation values.</param>
152 /// <since_tizen> 3 </since_tizen>
153 public PropertyValue(Rotation quaternion) : this(Interop.PropertyValue.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true)
155 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
159 /// Creates a string property value.
161 /// <param name="stringValue">A string.</param>
162 /// <since_tizen> 3 </since_tizen>
163 public PropertyValue(string stringValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_12(stringValue), true)
165 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
169 /// Creates an array property value.
171 /// <param name="arrayValue">An array.</param>
172 /// <since_tizen> 3 </since_tizen>
173 public PropertyValue(PropertyArray arrayValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_14(PropertyArray.getCPtr(arrayValue)), true)
175 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
179 /// Creates a map property value.
181 /// <param name="mapValue">An array.</param>
182 /// <since_tizen> 3 </since_tizen>
183 public PropertyValue(PropertyMap mapValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_15(PropertyMap.getCPtr(mapValue)), true)
185 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
189 /// Creates a Extents value.
191 /// <param name="extentsValue">A Extents value.</param>
192 /// <since_tizen> 4 </since_tizen>
193 public PropertyValue(Extents extentsValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_16(Extents.getCPtr(extentsValue)), true)
195 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
199 /// Creates a PropertyType value.
201 /// <param name="type">A PropertyType value.</param>
202 /// <since_tizen> 3 </since_tizen>
203 public PropertyValue(PropertyType type) : this(Interop.PropertyValue.new_Property_Value__SWIG_17((int)type), true)
205 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
209 /// Creates a PropertyValue value.
211 /// <param name="value">A PropertyValue value.</param>
212 /// <since_tizen> 3 </since_tizen>
213 public PropertyValue(PropertyValue value) : this(Interop.PropertyValue.new_Property_Value__SWIG_18(PropertyValue.getCPtr(value)), true)
215 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
219 /// Creates a Size property value.
221 /// <param name="vectorValue">Size values.</param>
222 internal PropertyValue(Size vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)
224 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
227 internal PropertyValue(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
231 internal PropertyValue(Matrix3 matrixValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_7(Matrix3.getCPtr(matrixValue)), true)
233 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
236 internal PropertyValue(Matrix matrixValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_8(Matrix.getCPtr(matrixValue)), true)
238 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
241 internal PropertyValue(AngleAxis angleAxis) : this(Interop.PropertyValue.new_Property_Value__SWIG_10(AngleAxis.getCPtr(angleAxis)), true)
243 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
247 /// An extension to the property value class that allows us to create a
248 /// Property value from a C# object, for example, integer, float, or string.<br />
250 /// <param name="obj">An object to create.</param>
251 /// <returns>The created value.</returns>
252 /// <since_tizen> 3 </since_tizen>
253 static public PropertyValue CreateFromObject(System.Object obj)
255 System.Type type = obj.GetType();
260 value = new PropertyValue((int)obj);//Enum.Parse(type, str);
262 else if (type.Equals(typeof(int)))
264 value = new PropertyValue((int)obj);
266 else if (type.Equals(typeof(System.Int32)))
268 value = new PropertyValue((int)obj);
270 else if (type.Equals(typeof(bool)))
272 value = new PropertyValue((bool)obj);
274 else if (type.Equals(typeof(float)))
276 value = new PropertyValue((float)obj);
278 else if (type.Equals(typeof(string)))
280 value = new PropertyValue((string)obj);
282 else if (type.Equals(typeof(Vector2)))
284 value = new PropertyValue((Vector2)obj);
286 else if (type.Equals(typeof(Vector3)))
288 value = new PropertyValue((Vector3)obj);
290 else if (type.Equals(typeof(Vector4)))
292 value = new PropertyValue((Vector4)obj);
294 else if (type.Equals(typeof(Position)))
296 value = new PropertyValue((Position)obj);
298 else if (type.Equals(typeof(Position2D)))
300 value = new PropertyValue((Position2D)obj);
302 else if (type.Equals(typeof(Size)))
304 value = new PropertyValue((Size)obj);
306 else if (type.Equals(typeof(Size2D)))
308 value = new PropertyValue((Size2D)obj);
310 else if (type.Equals(typeof(Color)))
312 value = new PropertyValue((Color)obj);
314 else if (type.Equals(typeof(Rotation)))
316 value = new PropertyValue((Rotation)obj);
318 else if (type.Equals(typeof(RelativeVector2)))
320 value = new PropertyValue((RelativeVector2)obj);
322 else if (type.Equals(typeof(RelativeVector3)))
324 value = new PropertyValue((RelativeVector3)obj);
326 else if (type.Equals(typeof(RelativeVector4)))
328 value = new PropertyValue((RelativeVector4)obj);
330 else if (type.Equals(typeof(Extents)))
332 value = new PropertyValue((Extents)obj);
336 throw new global::System.InvalidOperationException("Unimplemented type for Property Value :" + type.Name);
338 //NUILog.Debug(" got an property value of =" + type.Name);
343 /// Retrieves a Size2D value.
345 /// <param name="vectorValue"> On return, a Size2D value.</param>
346 /// <since_tizen> 3 </since_tizen>
347 public bool Get(Size2D vectorValue)
349 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));
350 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
355 /// Retrieves a Position2D value.
357 /// <param name="vectorValue"> On return, a Position2D value.</param>
358 /// <since_tizen> 3 </since_tizen>
359 public bool Get(Position2D vectorValue)
361 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue));
362 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
367 /// Retrieves a Size value.
369 /// <param name="vectorValue"> On return, a size value.</param>
370 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
371 [EditorBrowsable(EditorBrowsableState.Never)]
372 public bool Get(Size vectorValue)
374 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));
375 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
380 /// Retrieves a Position value.
382 /// <param name="vectorValue"> On return, a position value.</param>
383 /// <since_tizen> 3 </since_tizen>
384 public bool Get(Position vectorValue)
386 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));
387 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
392 /// Retrieves a Color value.
394 /// <param name="vectorValue"> On return, a color value.</param>
395 /// <since_tizen> 3 </since_tizen>
396 public bool Get(Color vectorValue)
398 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue));
399 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
404 /// Queries the type of this property value.
406 /// <returns>The type ID</returns>
407 /// <since_tizen> 3 </since_tizen>
408 public new PropertyType GetType()
410 PropertyType ret = (PropertyType)Interop.PropertyValue.Property_Value_GetType(swigCPtr);
411 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
416 /// Retrieves a boolean value.
418 /// <param name="boolValue">On return, a boolean value.</param>
419 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
420 /// <since_tizen> 3 </since_tizen>
421 public bool Get(out bool boolValue)
423 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_1(swigCPtr, out boolValue);
424 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
429 /// Retrieves a floating-point value.
431 /// <param name="floatValue">On return, a floating-point value.</param>
432 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
433 /// <since_tizen> 3 </since_tizen>
434 public bool Get(out float floatValue)
436 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_2(swigCPtr, out floatValue);
437 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
442 /// Retrieves an integer value.
444 /// <param name="integerValue">On return, an integer value.</param>
445 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
446 /// <since_tizen> 3 </since_tizen>
447 public bool Get(out int integerValue)
449 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_3(swigCPtr, out integerValue);
450 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
455 /// Retrieves an integer rectangle.
457 /// <param name="rect">On return, an integer rectangle.</param>
458 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
459 /// <since_tizen> 3 </since_tizen>
460 public bool Get(Rectangle rect)
462 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect));
463 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
468 /// Retrieves a vector value.
470 /// <param name="vectorValue">On return, a vector value.</param>
471 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
472 /// <since_tizen> 3 </since_tizen>
473 public bool Get(Vector2 vectorValue)
475 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue));
476 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
481 /// Retrieves a vector value.
483 /// <param name="vectorValue">On return, a vector value.</param>
484 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
485 /// <since_tizen> 3 </since_tizen>
486 public bool Get(Vector3 vectorValue)
488 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));
489 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
494 /// Retrieves a vector value.
496 /// <param name="vectorValue">On return, a vector value.</param>
497 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
498 /// <since_tizen> 3 </since_tizen>
499 public bool Get(Vector4 vectorValue)
501 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));
502 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
507 /// Retrieves a vector value.
509 /// <param name="vectorValue">On return, a vector value.</param>
510 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
511 /// <since_tizen> 5 </since_tizen>
512 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
513 [EditorBrowsable(EditorBrowsableState.Never)]
514 public bool Get(RelativeVector2 vectorValue)
516 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_5(swigCPtr, RelativeVector2.getCPtr(vectorValue));
517 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
522 /// Retrieves a vector value.
524 /// <param name="vectorValue">On return, a vector value.</param>
525 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
526 /// <since_tizen> 5 </since_tizen>
527 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
528 [EditorBrowsable(EditorBrowsableState.Never)]
529 public bool Get(RelativeVector3 vectorValue)
531 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_6(swigCPtr, RelativeVector3.getCPtr(vectorValue));
532 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
537 /// Retrieves a vector value.
539 /// <param name="vectorValue">On return, a vector value.</param>
540 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
541 /// <since_tizen> 5 </since_tizen>
542 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
543 [EditorBrowsable(EditorBrowsableState.Never)]
544 public bool Get(RelativeVector4 vectorValue)
546 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_7(swigCPtr, RelativeVector4.getCPtr(vectorValue));
547 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
552 /// Retrieves a rotation value.
554 /// <param name="quaternionValue">On return, a rotation value.</param>
555 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
556 /// <since_tizen> 3 </since_tizen>
557 public bool Get(Rotation quaternionValue)
559 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue));
560 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
565 /// Retrieves a string property value.
567 /// <param name="stringValue">On return, a string.</param>
568 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
569 /// <since_tizen> 3 </since_tizen>
570 public bool Get(out string stringValue)
572 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_12(swigCPtr, out stringValue);
573 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
578 /// Retrieves an array property value.
580 /// <param name="arrayValue">On return, the array as a vector property values.</param>
581 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
582 /// <since_tizen> 3 </since_tizen>
583 public bool Get(PropertyArray arrayValue)
585 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_13(swigCPtr, PropertyArray.getCPtr(arrayValue));
586 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
591 /// Retrieves a map property value.
593 /// <param name="mapValue">On return, the map as vector of string and property value pairs.</param>
594 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
595 /// <since_tizen> 3 </since_tizen>
596 public bool Get(PropertyMap mapValue)
598 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_14(swigCPtr, PropertyMap.getCPtr(mapValue));
599 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
604 /// Retrieves a Extents value.
606 /// <param name="extentsValue">On return, a extents.</param>
607 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
608 /// <since_tizen> 4 </since_tizen>
609 public bool Get(Extents extentsValue)
611 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_15(swigCPtr, Extents.getCPtr(extentsValue));
612 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
616 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyValue obj)
618 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
621 internal bool Get(Matrix3 matrixValue)
623 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_8(swigCPtr, Matrix3.getCPtr(matrixValue));
624 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
628 internal bool Get(Matrix matrixValue)
630 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_9(swigCPtr, Matrix.getCPtr(matrixValue));
631 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
635 internal bool Get(AngleAxis angleAxisValue)
637 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_10(swigCPtr, AngleAxis.getCPtr(angleAxisValue));
638 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
642 /// This will not be public opened.
643 [EditorBrowsable(EditorBrowsableState.Never)]
644 protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
646 Interop.PropertyValue.delete_Property_Value(swigCPtr);