1 /** Copyright (c) 2016 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
17 //------------------------------------------------------------------------------
20 // This file was automatically generated by SWIG (http://www.swig.org).
23 // Do not make changes to this file unless you know what you are doing--modify
24 // the SWIG interface file instead.
25 //------------------------------------------------------------------------------
30 using System.Runtime.InteropServices;
32 public class Actor : Handle {
33 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
35 internal Actor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Actor_SWIGUpcast(cPtr), cMemoryOwn) {
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
39 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Actor obj) {
40 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
47 public override void Dispose() {
49 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
52 NDalicPINVOKE.delete_Actor(swigCPtr);
54 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
56 global::System.GC.SuppressFinalize(this);
64 * @brief Event arguments that passed via Touch signal
67 public class TouchEventArgs : EventArgs
70 private TouchData _touchData;
73 * @brief Actor - is the actor that is being touched
89 * @brief TouchData - contains the information of touch points
92 public TouchData TouchData
106 * @brief Event arguments that passed via Hover signal
109 public class HoverEventArgs : EventArgs
111 private Actor _actor;
112 private HoverEvent _hoverEvent;
115 * @brief Actor - is the actor that is being hovered
131 * @brief HoverEvent - contains touch points that represent the points
132 * that are currently being hovered or the points where a hover has stopped
135 public HoverEvent HoverEvent
149 * @brief Event arguments that passed via Wheel signal
152 public class WheelEventArgs : EventArgs
154 private Actor _actor;
155 private WheelEvent _wheelEvent;
158 * @brief Actor - is the actor that is being wheeled
174 * @brief WheelEvent - store a wheel rolling type : MOUSE_WHEEL or CUSTOM_WHEEL
177 public WheelEvent WheelEvent
191 * @brief Event arguments that passed via OnStage signal
194 public class OnStageEventArgs : EventArgs
196 private Actor _actor;
199 * @brief Actor - is the actor that is being connected to the stage
216 * @brief Event arguments that passed via OffStage signal
219 public class OffStageEventArgs : EventArgs
221 private Actor _actor;
224 * @brief Actor - is the actor that is being disconnected from the stage
241 * @brief Event arguments that passed via OnRelayout signal
244 public class OnRelayoutEventArgs : EventArgs
246 private Actor _actor;
249 * @brief Actor - is the actor that is being resized upon relayout
266 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
267 private delegate bool TouchCallbackDelegate(IntPtr actor, IntPtr touchData);
268 private DaliEventHandlerWithReturnType<object,TouchEventArgs,bool> _actorTouchDataEventHandler;
269 private TouchCallbackDelegate _actorTouchDataCallbackDelegate;
271 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
272 private delegate bool HoverEventCallbackDelegate(IntPtr actor, IntPtr hoverEvent);
273 private DaliEventHandlerWithReturnType<object,HoverEventArgs,bool> _actorHoverEventHandler;
274 private HoverEventCallbackDelegate _actorHoverEventCallbackDelegate;
276 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
277 private delegate bool WheelEventCallbackDelegate(IntPtr actor, IntPtr wheelEvent);
278 private DaliEventHandlerWithReturnType<object,WheelEventArgs,bool> _actorWheelEventHandler;
279 private WheelEventCallbackDelegate _actorWheelEventCallbackDelegate;
281 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
282 private delegate void OnStageEventCallbackDelegate(IntPtr actor);
283 private DaliEventHandler<object,OnStageEventArgs> _actorOnStageEventHandler;
284 private OnStageEventCallbackDelegate _actorOnStageEventCallbackDelegate;
286 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
287 private delegate void OffStageEventCallbackDelegate(IntPtr actor);
288 private DaliEventHandler<object,OffStageEventArgs> _actorOffStageEventHandler;
289 private OffStageEventCallbackDelegate _actorOffStageEventCallbackDelegate;
291 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
292 private delegate void OnRelayoutEventCallbackDelegate(IntPtr actor);
293 private DaliEventHandler<object,OnRelayoutEventArgs> _actorOnRelayoutEventHandler;
294 private OnRelayoutEventCallbackDelegate _actorOnRelayoutEventCallbackDelegate;
297 * @brief Event for Touched signal which can be used to subscribe/unsubscribe the event handler
298 * (in the type of TouchEventHandler-DaliEventHandlerWithReturnType<object,TouchEventArgs,bool>)
299 * provided by the user. Touched signal is emitted when touch input is received.
301 public event DaliEventHandlerWithReturnType<object,TouchEventArgs,bool> Touched
307 // Restricted to only one listener
308 if (_actorTouchDataEventHandler == null)
310 _actorTouchDataEventHandler += value;
312 _actorTouchDataCallbackDelegate = new TouchCallbackDelegate(OnTouch);
313 this.TouchSignal().Connect(_actorTouchDataCallbackDelegate);
322 if (_actorTouchDataEventHandler != null)
324 this.TouchSignal().Disconnect(_actorTouchDataCallbackDelegate);
327 _actorTouchDataEventHandler -= value;
332 // Callback for Actor TouchSignal
333 private bool OnTouch(IntPtr actor, IntPtr touchData)
335 TouchEventArgs e = new TouchEventArgs();
337 // Populate all members of "e" (TouchEventArgs) with real data
338 e.Actor = Actor.GetActorFromPtr(actor);
339 e.TouchData = Dali.TouchData.GetTouchDataFromPtr(touchData);
341 if (_actorTouchDataEventHandler != null)
343 //here we send all data to user event handlers
344 return _actorTouchDataEventHandler(this, e, true);
351 * @brief Event for Hovered signal which can be used to subscribe/unsubscribe the event handler
352 * (in the type of HoverEventHandler-DaliEventHandlerWithReturnType<object,HoverEventArgs,bool>)
353 * provided by the user. Hovered signal is emitted when hover input is received.
355 public event DaliEventHandlerWithReturnType<object,HoverEventArgs,bool> Hovered
361 // Restricted to only one listener
362 if (_actorHoverEventHandler == null)
364 _actorHoverEventHandler += value;
366 _actorHoverEventCallbackDelegate = new HoverEventCallbackDelegate(OnHoverEvent);
367 this.HoveredSignal().Connect(_actorHoverEventCallbackDelegate);
376 if (_actorHoverEventHandler != null)
378 this.HoveredSignal().Disconnect(_actorHoverEventCallbackDelegate);
381 _actorHoverEventHandler -= value;
386 // Callback for Actor Hover signal
387 private bool OnHoverEvent(IntPtr actor, IntPtr hoverEvent)
389 HoverEventArgs e = new HoverEventArgs();
391 // Populate all members of "e" (HoverEventArgs) with real data
392 e.Actor = Actor.GetActorFromPtr(actor);
393 e.HoverEvent = Dali.HoverEvent.GetHoverEventFromPtr(hoverEvent);
395 if (_actorHoverEventHandler != null)
397 //here we send all data to user event handlers
398 return _actorHoverEventHandler(this, e, true);
405 * @brief Event for WheelMoved signal which can be used to subscribe/unsubscribe the event handler
406 * (in the type of WheelEventHandler-DaliEventHandlerWithReturnType<object,WheelEventArgs,bool>)
407 * provided by the user. WheelMoved signal is emitted when wheel event is received.
409 public event DaliEventHandlerWithReturnType<object,WheelEventArgs,bool> WheelMoved
415 // Restricted to only one listener
416 if (_actorWheelEventHandler == null)
418 _actorWheelEventHandler += value;
420 _actorWheelEventCallbackDelegate = new WheelEventCallbackDelegate(OnWheelEvent);
421 this.WheelEventSignal().Connect(_actorWheelEventCallbackDelegate);
430 if (_actorWheelEventHandler != null)
432 this.WheelEventSignal().Disconnect(_actorWheelEventCallbackDelegate);
435 _actorWheelEventHandler -= value;
440 // Callback for Actor Wheel signal
441 private bool OnWheelEvent(IntPtr actor, IntPtr wheelEvent)
443 WheelEventArgs e = new WheelEventArgs();
445 // Populate all members of "e" (WheelEventArgs) with real data
446 e.Actor = Actor.GetActorFromPtr(actor);
447 e.WheelEvent = Dali.WheelEvent.GetWheelEventFromPtr(wheelEvent);
449 if (_actorWheelEventHandler != null)
451 //here we send all data to user event handlers
452 return _actorWheelEventHandler(this, e, true);
459 * @brief Event for OnStage signal which can be used to subscribe/unsubscribe the event handler
460 * (in the type of OnStageEventHandler) provided by the user.
461 * OnStage signal is emitted after the actor has been connected to the stage.
463 public event DaliEventHandler<object,OnStageEventArgs> OnStageEvent
469 // Restricted to only one listener
470 if (_actorOnStageEventHandler == null)
472 _actorOnStageEventHandler += value;
474 _actorOnStageEventCallbackDelegate = new OnStageEventCallbackDelegate(OnStage);
475 this.OnStageSignal().Connect(_actorOnStageEventCallbackDelegate);
484 if (_actorOnStageEventHandler != null)
486 this.OnStageSignal().Disconnect(_actorOnStageEventCallbackDelegate);
489 _actorOnStageEventHandler -= value;
494 // Callback for Actor OnStage signal
495 private void OnStage(IntPtr data)
497 OnStageEventArgs e = new OnStageEventArgs();
499 // Populate all members of "e" (OnStageEventArgs) with real data
500 e.Actor = Actor.GetActorFromPtr(data);
502 if (_actorOnStageEventHandler != null)
504 //here we send all data to user event handlers
505 _actorOnStageEventHandler(this, e);
510 * @brief Event for OffStage signal which can be used to subscribe/unsubscribe the event handler
511 * (in the type of OffStageEventHandler) provided by the user.
512 * OffStage signal is emitted after the actor has been disconnected from the stage.
514 public event DaliEventHandler<object,OffStageEventArgs> OffStageEvent
520 // Restricted to only one listener
521 if (_actorOffStageEventHandler == null)
523 _actorOffStageEventHandler += value;
525 _actorOffStageEventCallbackDelegate = new OffStageEventCallbackDelegate(OffStage);
526 this.OnStageSignal().Connect(_actorOffStageEventCallbackDelegate);
535 if (_actorOffStageEventHandler != null)
537 this.OnStageSignal().Disconnect(_actorOffStageEventCallbackDelegate);
540 _actorOffStageEventHandler -= value;
545 // Callback for Actor OffStage signal
546 private void OffStage(IntPtr data)
548 OffStageEventArgs e = new OffStageEventArgs();
550 // Populate all members of "e" (OffStageEventArgs) with real data
551 e.Actor = Actor.GetActorFromPtr(data);
553 if (_actorOffStageEventHandler != null)
555 //here we send all data to user event handlers
556 _actorOffStageEventHandler(this, e);
561 * @brief Event for OnRelayout signal which can be used to subscribe/unsubscribe the event handler
562 * (in the type of OnRelayoutEventHandler) provided by the user.
563 * OnRelayout signal is emitted after the size has been set on the actor during relayout.
565 public event DaliEventHandler<object,OnRelayoutEventArgs> OnRelayoutEvent
571 // Restricted to only one listener
572 if (_actorOnRelayoutEventHandler == null)
574 _actorOnRelayoutEventHandler += value;
576 _actorOnRelayoutEventCallbackDelegate = new OnRelayoutEventCallbackDelegate(OnRelayout);
577 this.OnRelayoutSignal().Connect(_actorOnRelayoutEventCallbackDelegate);
586 if (_actorOnRelayoutEventHandler != null)
588 this.OnRelayoutSignal().Disconnect(_actorOnRelayoutEventCallbackDelegate);
591 _actorOnRelayoutEventHandler -= value;
596 // Callback for Actor OnRelayout signal
597 private void OnRelayout(IntPtr data)
599 OnRelayoutEventArgs e = new OnRelayoutEventArgs();
601 // Populate all members of "e" (OnRelayoutEventArgs) with real data
602 e.Actor = Actor.GetActorFromPtr(data);
604 if (_actorOnRelayoutEventHandler != null)
606 //here we send all data to user event handlers
607 _actorOnRelayoutEventHandler(this, e);
611 public static Actor GetActorFromPtr(global::System.IntPtr cPtr) {
612 Actor ret = new Actor(cPtr, false);
613 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
617 public IntPtr GetPtrfromActor ()
619 return (IntPtr)swigCPtr;
626 Actor parent = GetParent();
635 bool visibility = IsVisible();
648 public float CurrentOpacity
652 float ret = GetCurrentOpacity();
657 public bool StateFocusEnable
661 SetKeyboardFocusable(value);
665 bool focusable = IsKeyboardFocusable();
671 public class Property : global::System.IDisposable {
672 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
673 protected bool swigCMemOwn;
675 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
676 swigCMemOwn = cMemoryOwn;
677 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
680 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
681 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
688 public virtual void Dispose() {
690 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
693 NDalicPINVOKE.delete_Actor_Property(swigCPtr);
695 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
697 global::System.GC.SuppressFinalize(this);
701 public Property() : this(NDalicPINVOKE.new_Actor_Property(), true) {
702 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
705 public static readonly int PARENT_ORIGIN = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_get();
706 public static readonly int PARENT_ORIGIN_X = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_X_get();
707 public static readonly int PARENT_ORIGIN_Y = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_Y_get();
708 public static readonly int PARENT_ORIGIN_Z = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_Z_get();
709 public static readonly int ANCHOR_POINT = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_get();
710 public static readonly int ANCHOR_POINT_X = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_X_get();
711 public static readonly int ANCHOR_POINT_Y = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_Y_get();
712 public static readonly int ANCHOR_POINT_Z = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_Z_get();
713 public static readonly int SIZE = NDalicPINVOKE.Actor_Property_SIZE_get();
714 public static readonly int SIZE_WIDTH = NDalicPINVOKE.Actor_Property_SIZE_WIDTH_get();
715 public static readonly int SIZE_HEIGHT = NDalicPINVOKE.Actor_Property_SIZE_HEIGHT_get();
716 public static readonly int SIZE_DEPTH = NDalicPINVOKE.Actor_Property_SIZE_DEPTH_get();
717 public static readonly int POSITION = NDalicPINVOKE.Actor_Property_POSITION_get();
718 public static readonly int POSITION_X = NDalicPINVOKE.Actor_Property_POSITION_X_get();
719 public static readonly int POSITION_Y = NDalicPINVOKE.Actor_Property_POSITION_Y_get();
720 public static readonly int POSITION_Z = NDalicPINVOKE.Actor_Property_POSITION_Z_get();
721 public static readonly int WORLD_POSITION = NDalicPINVOKE.Actor_Property_WORLD_POSITION_get();
722 public static readonly int WORLD_POSITION_X = NDalicPINVOKE.Actor_Property_WORLD_POSITION_X_get();
723 public static readonly int WORLD_POSITION_Y = NDalicPINVOKE.Actor_Property_WORLD_POSITION_Y_get();
724 public static readonly int WORLD_POSITION_Z = NDalicPINVOKE.Actor_Property_WORLD_POSITION_Z_get();
725 public static readonly int ORIENTATION = NDalicPINVOKE.Actor_Property_ORIENTATION_get();
726 public static readonly int WORLD_ORIENTATION = NDalicPINVOKE.Actor_Property_WORLD_ORIENTATION_get();
727 public static readonly int SCALE = NDalicPINVOKE.Actor_Property_SCALE_get();
728 public static readonly int SCALE_X = NDalicPINVOKE.Actor_Property_SCALE_X_get();
729 public static readonly int SCALE_Y = NDalicPINVOKE.Actor_Property_SCALE_Y_get();
730 public static readonly int SCALE_Z = NDalicPINVOKE.Actor_Property_SCALE_Z_get();
731 public static readonly int WORLD_SCALE = NDalicPINVOKE.Actor_Property_WORLD_SCALE_get();
732 public static readonly int VISIBLE = NDalicPINVOKE.Actor_Property_VISIBLE_get();
733 public static readonly int COLOR = NDalicPINVOKE.Actor_Property_COLOR_get();
734 public static readonly int COLOR_RED = NDalicPINVOKE.Actor_Property_COLOR_RED_get();
735 public static readonly int COLOR_GREEN = NDalicPINVOKE.Actor_Property_COLOR_GREEN_get();
736 public static readonly int COLOR_BLUE = NDalicPINVOKE.Actor_Property_COLOR_BLUE_get();
737 public static readonly int COLOR_ALPHA = NDalicPINVOKE.Actor_Property_COLOR_ALPHA_get();
738 public static readonly int WORLD_COLOR = NDalicPINVOKE.Actor_Property_WORLD_COLOR_get();
739 public static readonly int WORLD_MATRIX = NDalicPINVOKE.Actor_Property_WORLD_MATRIX_get();
740 public static readonly int NAME = NDalicPINVOKE.Actor_Property_NAME_get();
741 public static readonly int SENSITIVE = NDalicPINVOKE.Actor_Property_SENSITIVE_get();
742 public static readonly int LEAVE_REQUIRED = NDalicPINVOKE.Actor_Property_LEAVE_REQUIRED_get();
743 public static readonly int INHERIT_ORIENTATION = NDalicPINVOKE.Actor_Property_INHERIT_ORIENTATION_get();
744 public static readonly int INHERIT_SCALE = NDalicPINVOKE.Actor_Property_INHERIT_SCALE_get();
745 public static readonly int COLOR_MODE = NDalicPINVOKE.Actor_Property_COLOR_MODE_get();
746 public static readonly int POSITION_INHERITANCE = NDalicPINVOKE.Actor_Property_POSITION_INHERITANCE_get();
747 public static readonly int DRAW_MODE = NDalicPINVOKE.Actor_Property_DRAW_MODE_get();
748 public static readonly int SIZE_MODE_FACTOR = NDalicPINVOKE.Actor_Property_SIZE_MODE_FACTOR_get();
749 public static readonly int WIDTH_RESIZE_POLICY = NDalicPINVOKE.Actor_Property_WIDTH_RESIZE_POLICY_get();
750 public static readonly int HEIGHT_RESIZE_POLICY = NDalicPINVOKE.Actor_Property_HEIGHT_RESIZE_POLICY_get();
751 public static readonly int SIZE_SCALE_POLICY = NDalicPINVOKE.Actor_Property_SIZE_SCALE_POLICY_get();
752 public static readonly int WIDTH_FOR_HEIGHT = NDalicPINVOKE.Actor_Property_WIDTH_FOR_HEIGHT_get();
753 public static readonly int HEIGHT_FOR_WIDTH = NDalicPINVOKE.Actor_Property_HEIGHT_FOR_WIDTH_get();
754 public static readonly int PADDING = NDalicPINVOKE.Actor_Property_PADDING_get();
755 public static readonly int MINIMUM_SIZE = NDalicPINVOKE.Actor_Property_MINIMUM_SIZE_get();
756 public static readonly int MAXIMUM_SIZE = NDalicPINVOKE.Actor_Property_MAXIMUM_SIZE_get();
757 public static readonly int INHERIT_POSITION = NDalicPINVOKE.Actor_Property_INHERIT_POSITION_get();
758 public static readonly int CLIPPING_MODE = NDalicPINVOKE.Actor_Property_CLIPPING_MODE_get();
759 public static readonly int BATCH_PARENT = NDalicPINVOKE.Actor_Property_BATCH_PARENT_get();
763 public Actor () : this (NDalicPINVOKE.Actor_New(), true) {
764 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
767 public new static Actor DownCast(BaseHandle handle) {
768 Actor ret = new Actor(NDalicPINVOKE.Actor_DownCast(BaseHandle.getCPtr(handle)), true);
769 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
773 public Actor(Actor copy) : this(NDalicPINVOKE.new_Actor__SWIG_1(Actor.getCPtr(copy)), true) {
774 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
777 public Actor Assign(Actor rhs) {
778 Actor ret = new Actor(NDalicPINVOKE.Actor_Assign(swigCPtr, Actor.getCPtr(rhs)), false);
779 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
783 public string GetName() {
784 string ret = NDalicPINVOKE.Actor_GetName(swigCPtr);
785 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
789 public void SetName(string name) {
790 NDalicPINVOKE.Actor_SetName(swigCPtr, name);
791 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
794 public uint GetId() {
795 uint ret = NDalicPINVOKE.Actor_GetId(swigCPtr);
796 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
800 public bool IsRoot() {
801 bool ret = NDalicPINVOKE.Actor_IsRoot(swigCPtr);
802 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
806 public bool OnStage() {
807 bool ret = NDalicPINVOKE.Actor_OnStage(swigCPtr);
808 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
812 public bool IsLayer() {
813 bool ret = NDalicPINVOKE.Actor_IsLayer(swigCPtr);
814 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
818 public Layer GetLayer() {
819 Layer ret = new Layer(NDalicPINVOKE.Actor_GetLayer(swigCPtr), true);
820 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
824 public void Add(Actor child) {
825 NDalicPINVOKE.Actor_Add(swigCPtr, Actor.getCPtr(child));
826 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
829 public void Remove(Actor child) {
830 NDalicPINVOKE.Actor_Remove(swigCPtr, Actor.getCPtr(child));
831 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
834 public void Unparent() {
835 NDalicPINVOKE.Actor_Unparent(swigCPtr);
836 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
839 public uint GetChildCount() {
840 uint ret = NDalicPINVOKE.Actor_GetChildCount(swigCPtr);
841 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
845 public Actor GetChildAt(uint index) {
846 Actor ret = new Actor(NDalicPINVOKE.Actor_GetChildAt(swigCPtr, index), true);
847 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
851 public Actor FindChildByName(string actorName) {
852 Actor ret = new Actor(NDalicPINVOKE.Actor_FindChildByName(swigCPtr, actorName), true);
853 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
857 public Actor FindChildById(uint id) {
858 Actor ret = new Actor(NDalicPINVOKE.Actor_FindChildById(swigCPtr, id), true);
859 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
863 public Actor GetParent() {
864 Actor ret = new Actor(NDalicPINVOKE.Actor_GetParent(swigCPtr), true);
865 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
869 public void SetParentOrigin(Vector3 origin) {
870 NDalicPINVOKE.Actor_SetParentOrigin(swigCPtr, Vector3.getCPtr(origin));
871 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
874 public Vector3 GetCurrentParentOrigin() {
875 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentParentOrigin(swigCPtr), true);
876 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
880 public void SetAnchorPoint(Vector3 anchorPoint) {
881 NDalicPINVOKE.Actor_SetAnchorPoint(swigCPtr, Vector3.getCPtr(anchorPoint));
882 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
885 public Vector3 GetCurrentAnchorPoint() {
886 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentAnchorPoint(swigCPtr), true);
887 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
891 public void SetSize(float width, float height) {
892 NDalicPINVOKE.Actor_SetSize__SWIG_0(swigCPtr, width, height);
893 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
896 public void SetSize(float width, float height, float depth) {
897 NDalicPINVOKE.Actor_SetSize__SWIG_1(swigCPtr, width, height, depth);
898 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
901 public void SetSize(Vector2 size) {
902 NDalicPINVOKE.Actor_SetSize__SWIG_2(swigCPtr, Vector2.getCPtr(size));
903 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
906 public void SetSize(Vector3 size) {
907 NDalicPINVOKE.Actor_SetSize__SWIG_3(swigCPtr, Vector3.getCPtr(size));
908 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
911 public Vector3 GetTargetSize() {
912 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetTargetSize(swigCPtr), true);
913 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
917 public Vector3 GetCurrentSize() {
918 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentSize(swigCPtr), true);
919 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
923 public Vector3 GetNaturalSize() {
924 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetNaturalSize(swigCPtr), true);
925 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
929 public void SetPosition(float x, float y) {
930 NDalicPINVOKE.Actor_SetPosition__SWIG_0(swigCPtr, x, y);
931 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
934 public void SetPosition(float x, float y, float z) {
935 NDalicPINVOKE.Actor_SetPosition__SWIG_1(swigCPtr, x, y, z);
936 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
939 public void SetPosition(Vector3 position) {
940 NDalicPINVOKE.Actor_SetPosition__SWIG_2(swigCPtr, Vector3.getCPtr(position));
941 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
944 public void SetX(float x) {
945 NDalicPINVOKE.Actor_SetX(swigCPtr, x);
946 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
949 public void SetY(float y) {
950 NDalicPINVOKE.Actor_SetY(swigCPtr, y);
951 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
954 public void SetZ(float z) {
955 NDalicPINVOKE.Actor_SetZ(swigCPtr, z);
956 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
959 public void TranslateBy(Vector3 distance) {
960 NDalicPINVOKE.Actor_TranslateBy(swigCPtr, Vector3.getCPtr(distance));
961 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
964 public Vector3 GetCurrentPosition() {
965 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentPosition(swigCPtr), true);
966 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
970 public Vector3 GetCurrentWorldPosition() {
971 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentWorldPosition(swigCPtr), true);
972 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
976 public void SetInheritPosition(bool inherit) {
977 NDalicPINVOKE.Actor_SetInheritPosition(swigCPtr, inherit);
978 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
981 public PositionInheritanceMode GetPositionInheritanceMode() {
982 PositionInheritanceMode ret = (PositionInheritanceMode)NDalicPINVOKE.Actor_GetPositionInheritanceMode(swigCPtr);
983 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
987 public bool IsPositionInherited() {
988 bool ret = NDalicPINVOKE.Actor_IsPositionInherited(swigCPtr);
989 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
993 public void SetOrientation(Degree angle, Vector3 axis) {
994 NDalicPINVOKE.Actor_SetOrientation__SWIG_0(swigCPtr, Degree.getCPtr(angle), Vector3.getCPtr(axis));
995 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
998 public void SetOrientation(Radian angle, Vector3 axis) {
999 NDalicPINVOKE.Actor_SetOrientation__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
1000 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1003 public void SetOrientation(Quaternion orientation) {
1004 NDalicPINVOKE.Actor_SetOrientation__SWIG_2(swigCPtr, Quaternion.getCPtr(orientation));
1005 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1008 public void RotateBy(Degree angle, Vector3 axis) {
1009 NDalicPINVOKE.Actor_RotateBy__SWIG_0(swigCPtr, Degree.getCPtr(angle), Vector3.getCPtr(axis));
1010 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1013 public void RotateBy(Radian angle, Vector3 axis) {
1014 NDalicPINVOKE.Actor_RotateBy__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
1015 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1018 public void RotateBy(Quaternion relativeRotation) {
1019 NDalicPINVOKE.Actor_RotateBy__SWIG_2(swigCPtr, Quaternion.getCPtr(relativeRotation));
1020 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1023 public Quaternion GetCurrentOrientation() {
1024 Quaternion ret = new Quaternion(NDalicPINVOKE.Actor_GetCurrentOrientation(swigCPtr), true);
1025 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1029 public void SetInheritOrientation(bool inherit) {
1030 NDalicPINVOKE.Actor_SetInheritOrientation(swigCPtr, inherit);
1031 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1034 public bool IsOrientationInherited() {
1035 bool ret = NDalicPINVOKE.Actor_IsOrientationInherited(swigCPtr);
1036 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1040 public Quaternion GetCurrentWorldOrientation() {
1041 Quaternion ret = new Quaternion(NDalicPINVOKE.Actor_GetCurrentWorldOrientation(swigCPtr), true);
1042 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1046 public void SetScale(float scale) {
1047 NDalicPINVOKE.Actor_SetScale__SWIG_0(swigCPtr, scale);
1048 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1051 public void SetScale(float scaleX, float scaleY, float scaleZ) {
1052 NDalicPINVOKE.Actor_SetScale__SWIG_1(swigCPtr, scaleX, scaleY, scaleZ);
1053 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1056 public void SetScale(Vector3 scale) {
1057 NDalicPINVOKE.Actor_SetScale__SWIG_2(swigCPtr, Vector3.getCPtr(scale));
1058 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1061 public void ScaleBy(Vector3 relativeScale) {
1062 NDalicPINVOKE.Actor_ScaleBy(swigCPtr, Vector3.getCPtr(relativeScale));
1063 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1066 public Vector3 GetCurrentScale() {
1067 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentScale(swigCPtr), true);
1068 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1072 public Vector3 GetCurrentWorldScale() {
1073 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentWorldScale(swigCPtr), true);
1074 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1078 public void SetInheritScale(bool inherit) {
1079 NDalicPINVOKE.Actor_SetInheritScale(swigCPtr, inherit);
1080 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1083 public bool IsScaleInherited() {
1084 bool ret = NDalicPINVOKE.Actor_IsScaleInherited(swigCPtr);
1085 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1089 public Matrix GetCurrentWorldMatrix() {
1090 Matrix ret = new Matrix(NDalicPINVOKE.Actor_GetCurrentWorldMatrix(swigCPtr), true);
1091 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1095 public void SetVisible(bool visible) {
1096 NDalicPINVOKE.Actor_SetVisible(swigCPtr, visible);
1097 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1100 public bool IsVisible() {
1101 bool ret = NDalicPINVOKE.Actor_IsVisible(swigCPtr);
1102 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1106 public void SetOpacity(float opacity) {
1107 NDalicPINVOKE.Actor_SetOpacity(swigCPtr, opacity);
1108 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1111 public float GetCurrentOpacity() {
1112 float ret = NDalicPINVOKE.Actor_GetCurrentOpacity(swigCPtr);
1113 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1117 public void SetColor(Vector4 color) {
1118 NDalicPINVOKE.Actor_SetColor(swigCPtr, Vector4.getCPtr(color));
1119 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1122 public Vector4 GetCurrentColor() {
1123 Vector4 ret = new Vector4(NDalicPINVOKE.Actor_GetCurrentColor(swigCPtr), true);
1124 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1128 public void SetColorMode(ColorMode colorMode) {
1129 NDalicPINVOKE.Actor_SetColorMode(swigCPtr, (int)colorMode);
1130 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1133 public ColorMode GetColorMode() {
1134 ColorMode ret = (ColorMode)NDalicPINVOKE.Actor_GetColorMode(swigCPtr);
1135 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1139 public Vector4 GetCurrentWorldColor() {
1140 Vector4 ret = new Vector4(NDalicPINVOKE.Actor_GetCurrentWorldColor(swigCPtr), true);
1141 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1145 public void SetDrawMode(DrawModeType drawMode) {
1146 NDalicPINVOKE.Actor_SetDrawMode(swigCPtr, (int)drawMode);
1147 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1150 public DrawModeType GetDrawMode() {
1151 DrawModeType ret = (DrawModeType)NDalicPINVOKE.Actor_GetDrawMode(swigCPtr);
1152 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1156 public void SetSensitive(bool sensitive) {
1157 NDalicPINVOKE.Actor_SetSensitive(swigCPtr, sensitive);
1158 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1161 public bool IsSensitive() {
1162 bool ret = NDalicPINVOKE.Actor_IsSensitive(swigCPtr);
1163 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1167 public bool ScreenToLocal(out float localX, out float localY, float screenX, float screenY) {
1168 bool ret = NDalicPINVOKE.Actor_ScreenToLocal(swigCPtr, out localX, out localY, screenX, screenY);
1169 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1173 public void SetLeaveRequired(bool required) {
1174 NDalicPINVOKE.Actor_SetLeaveRequired(swigCPtr, required);
1175 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1178 public bool GetLeaveRequired() {
1179 bool ret = NDalicPINVOKE.Actor_GetLeaveRequired(swigCPtr);
1180 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1184 public void SetKeyboardFocusable(bool focusable) {
1185 NDalicPINVOKE.Actor_SetKeyboardFocusable(swigCPtr, focusable);
1186 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1189 public bool IsKeyboardFocusable() {
1190 bool ret = NDalicPINVOKE.Actor_IsKeyboardFocusable(swigCPtr);
1191 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1195 public void SetResizePolicy(ResizePolicyType policy, DimensionType dimension) {
1196 NDalicPINVOKE.Actor_SetResizePolicy(swigCPtr, (int)policy, (int)dimension);
1197 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1200 public ResizePolicyType GetResizePolicy(DimensionType dimension) {
1201 ResizePolicyType ret = (ResizePolicyType)NDalicPINVOKE.Actor_GetResizePolicy(swigCPtr, (int)dimension);
1202 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1206 public void SetSizeScalePolicy(SizeScalePolicyType policy) {
1207 NDalicPINVOKE.Actor_SetSizeScalePolicy(swigCPtr, (int)policy);
1208 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1211 public SizeScalePolicyType GetSizeScalePolicy() {
1212 SizeScalePolicyType ret = (SizeScalePolicyType)NDalicPINVOKE.Actor_GetSizeScalePolicy(swigCPtr);
1213 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1217 public void SetSizeModeFactor(Vector3 factor) {
1218 NDalicPINVOKE.Actor_SetSizeModeFactor(swigCPtr, Vector3.getCPtr(factor));
1219 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1222 public Vector3 GetSizeModeFactor() {
1223 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetSizeModeFactor(swigCPtr), true);
1224 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1228 public float GetHeightForWidth(float width) {
1229 float ret = NDalicPINVOKE.Actor_GetHeightForWidth(swigCPtr, width);
1230 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1234 public float GetWidthForHeight(float height) {
1235 float ret = NDalicPINVOKE.Actor_GetWidthForHeight(swigCPtr, height);
1236 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1240 public float GetRelayoutSize(DimensionType dimension) {
1241 float ret = NDalicPINVOKE.Actor_GetRelayoutSize(swigCPtr, (int)dimension);
1242 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1246 public void SetPadding(RectFloat padding) {
1247 NDalicPINVOKE.Actor_SetPadding(swigCPtr, RectFloat.getCPtr(padding));
1248 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1251 public void GetPadding(RectFloat paddingOut) {
1252 NDalicPINVOKE.Actor_GetPadding(swigCPtr, RectFloat.getCPtr(paddingOut));
1253 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1256 public void SetMinimumSize(Vector2 size) {
1257 NDalicPINVOKE.Actor_SetMinimumSize(swigCPtr, Vector2.getCPtr(size));
1258 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1261 public Vector2 GetMinimumSize() {
1262 Vector2 ret = new Vector2(NDalicPINVOKE.Actor_GetMinimumSize(swigCPtr), true);
1263 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1267 public void SetMaximumSize(Vector2 size) {
1268 NDalicPINVOKE.Actor_SetMaximumSize(swigCPtr, Vector2.getCPtr(size));
1269 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1272 public Vector2 GetMaximumSize() {
1273 Vector2 ret = new Vector2(NDalicPINVOKE.Actor_GetMaximumSize(swigCPtr), true);
1274 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1278 public int GetHierarchyDepth() {
1279 int ret = NDalicPINVOKE.Actor_GetHierarchyDepth(swigCPtr);
1280 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1284 public uint AddRenderer(Renderer renderer) {
1285 uint ret = NDalicPINVOKE.Actor_AddRenderer(swigCPtr, Renderer.getCPtr(renderer));
1286 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1290 public uint GetRendererCount() {
1291 uint ret = NDalicPINVOKE.Actor_GetRendererCount(swigCPtr);
1292 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1296 public Renderer GetRendererAt(uint index) {
1297 Renderer ret = new Renderer(NDalicPINVOKE.Actor_GetRendererAt(swigCPtr, index), true);
1298 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1302 public void RemoveRenderer(Renderer renderer) {
1303 NDalicPINVOKE.Actor_RemoveRenderer__SWIG_0(swigCPtr, Renderer.getCPtr(renderer));
1304 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1307 public void RemoveRenderer(uint index) {
1308 NDalicPINVOKE.Actor_RemoveRenderer__SWIG_1(swigCPtr, index);
1309 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1312 public ActorTouchEventSignal TouchedSignal() {
1313 ActorTouchEventSignal ret = new ActorTouchEventSignal(NDalicPINVOKE.Actor_TouchedSignal(swigCPtr), false);
1314 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1318 public ActorTouchDataSignal TouchSignal() {
1319 ActorTouchDataSignal ret = new ActorTouchDataSignal(NDalicPINVOKE.Actor_TouchSignal(swigCPtr), false);
1320 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1324 public ActorHoverEventSignal HoveredSignal() {
1325 ActorHoverEventSignal ret = new ActorHoverEventSignal(NDalicPINVOKE.Actor_HoveredSignal(swigCPtr), false);
1326 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1330 public ActorWheelEventSignal WheelEventSignal() {
1331 ActorWheelEventSignal ret = new ActorWheelEventSignal(NDalicPINVOKE.Actor_WheelEventSignal(swigCPtr), false);
1332 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1336 public ActorSignal OnStageSignal() {
1337 ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OnStageSignal(swigCPtr), false);
1338 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1342 public ActorSignal OffStageSignal() {
1343 ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OffStageSignal(swigCPtr), false);
1344 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1348 public ActorSignal OnRelayoutSignal() {
1349 ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OnRelayoutSignal(swigCPtr), false);
1350 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1354 public Vector3 ParentOrigin
1358 Vector3 temp = new Vector3(0.0f,0.0f,0.0f);
1359 GetProperty( Actor.Property.PARENT_ORIGIN).Get( temp );
1364 SetProperty( Actor.Property.PARENT_ORIGIN, new Dali.Property.Value( value ) );
1367 public float ParentOriginX
1372 GetProperty( Actor.Property.PARENT_ORIGIN_X).Get( ref temp );
1377 SetProperty( Actor.Property.PARENT_ORIGIN_X, new Dali.Property.Value( value ) );
1380 public float ParentOriginY
1385 GetProperty( Actor.Property.PARENT_ORIGIN_Y).Get( ref temp );
1390 SetProperty( Actor.Property.PARENT_ORIGIN_Y, new Dali.Property.Value( value ) );
1393 public float ParentOriginZ
1398 GetProperty( Actor.Property.PARENT_ORIGIN_Z).Get( ref temp );
1403 SetProperty( Actor.Property.PARENT_ORIGIN_Z, new Dali.Property.Value( value ) );
1406 public Vector3 AnchorPoint
1410 Vector3 temp = new Vector3(0.0f,0.0f,0.0f);
1411 GetProperty( Actor.Property.ANCHOR_POINT).Get( temp );
1416 SetProperty( Actor.Property.ANCHOR_POINT, new Dali.Property.Value( value ) );
1419 public float AnchorPointX
1424 GetProperty( Actor.Property.ANCHOR_POINT_X).Get( ref temp );
1429 SetProperty( Actor.Property.ANCHOR_POINT_X, new Dali.Property.Value( value ) );
1432 public float AnchorPointY
1437 GetProperty( Actor.Property.ANCHOR_POINT_Y).Get( ref temp );
1442 SetProperty( Actor.Property.ANCHOR_POINT_Y, new Dali.Property.Value( value ) );
1445 public float AnchorPointZ
1450 GetProperty( Actor.Property.ANCHOR_POINT_Z).Get( ref temp );
1455 SetProperty( Actor.Property.ANCHOR_POINT_Z, new Dali.Property.Value( value ) );
1462 Vector3 temp = new Vector3(0.0f,0.0f,0.0f);
1463 GetProperty( Actor.Property.SIZE).Get( temp );
1468 SetProperty( Actor.Property.SIZE, new Dali.Property.Value( value ) );
1471 public float SizeWidth
1476 GetProperty( Actor.Property.SIZE_WIDTH).Get( ref temp );
1481 SetProperty( Actor.Property.SIZE_WIDTH, new Dali.Property.Value( value ) );
1484 public float SizeHeight
1489 GetProperty( Actor.Property.SIZE_HEIGHT).Get( ref temp );
1494 SetProperty( Actor.Property.SIZE_HEIGHT, new Dali.Property.Value( value ) );
1497 public float SizeDepth
1502 GetProperty( Actor.Property.SIZE_DEPTH).Get( ref temp );
1507 SetProperty( Actor.Property.SIZE_DEPTH, new Dali.Property.Value( value ) );
1510 public Vector3 Position
1514 Vector3 temp = new Vector3(0.0f,0.0f,0.0f);
1515 GetProperty( Actor.Property.POSITION).Get( temp );
1520 SetProperty( Actor.Property.POSITION, new Dali.Property.Value( value ) );
1523 public float PositionX
1528 GetProperty( Actor.Property.POSITION_X).Get( ref temp );
1533 SetProperty( Actor.Property.POSITION_X, new Dali.Property.Value( value ) );
1536 public float PositionY
1541 GetProperty( Actor.Property.POSITION_Y).Get( ref temp );
1546 SetProperty( Actor.Property.POSITION_Y, new Dali.Property.Value( value ) );
1549 public float PositionZ
1554 GetProperty( Actor.Property.POSITION_Z).Get( ref temp );
1559 SetProperty( Actor.Property.POSITION_Z, new Dali.Property.Value( value ) );
1562 public Vector3 WorldPosition
1566 Vector3 temp = new Vector3(0.0f,0.0f,0.0f);
1567 GetProperty( Actor.Property.WORLD_POSITION).Get( temp );
1570 } public float WorldPositionX
1575 GetProperty( Actor.Property.WORLD_POSITION_X).Get( ref temp );
1578 } public float WorldPositionY
1583 GetProperty( Actor.Property.WORLD_POSITION_Y).Get( ref temp );
1586 } public float WorldPositionZ
1591 GetProperty( Actor.Property.WORLD_POSITION_Z).Get( ref temp );
1594 } public Quaternion Orientation
1598 Quaternion temp = new Quaternion();
1599 GetProperty( Actor.Property.ORIENTATION).Get( temp );
1604 SetProperty( Actor.Property.ORIENTATION, new Dali.Property.Value( value ) );
1607 public Quaternion WorldOrientation
1611 Quaternion temp = new Quaternion();
1612 GetProperty( Actor.Property.WORLD_ORIENTATION).Get( temp );
1615 } public Vector3 Scale
1619 Vector3 temp = new Vector3(0.0f,0.0f,0.0f);
1620 GetProperty( Actor.Property.SCALE).Get( temp );
1625 SetProperty( Actor.Property.SCALE, new Dali.Property.Value( value ) );
1633 GetProperty( Actor.Property.SCALE_X).Get( ref temp );
1638 SetProperty( Actor.Property.SCALE_X, new Dali.Property.Value( value ) );
1646 GetProperty( Actor.Property.SCALE_Y).Get( ref temp );
1651 SetProperty( Actor.Property.SCALE_Y, new Dali.Property.Value( value ) );
1659 GetProperty( Actor.Property.SCALE_Z).Get( ref temp );
1664 SetProperty( Actor.Property.SCALE_Z, new Dali.Property.Value( value ) );
1667 public Vector3 WorldScale
1671 Vector3 temp = new Vector3(0.0f,0.0f,0.0f);
1672 GetProperty( Actor.Property.WORLD_SCALE).Get( temp );
1675 } public bool Visible
1680 GetProperty( Actor.Property.VISIBLE).Get( ref temp );
1685 SetProperty( Actor.Property.VISIBLE, new Dali.Property.Value( value ) );
1688 public Vector4 Color
1692 Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
1693 GetProperty( Actor.Property.COLOR).Get( temp );
1698 SetProperty( Actor.Property.COLOR, new Dali.Property.Value( value ) );
1701 public float ColorRed
1706 GetProperty( Actor.Property.COLOR_RED).Get( ref temp );
1711 SetProperty( Actor.Property.COLOR_RED, new Dali.Property.Value( value ) );
1714 public float ColorGreen
1719 GetProperty( Actor.Property.COLOR_GREEN).Get( ref temp );
1724 SetProperty( Actor.Property.COLOR_GREEN, new Dali.Property.Value( value ) );
1727 public float ColorBlue
1732 GetProperty( Actor.Property.COLOR_BLUE).Get( ref temp );
1737 SetProperty( Actor.Property.COLOR_BLUE, new Dali.Property.Value( value ) );
1740 public float ColorAlpha
1745 GetProperty( Actor.Property.COLOR_ALPHA).Get( ref temp );
1750 SetProperty( Actor.Property.COLOR_ALPHA, new Dali.Property.Value( value ) );
1753 public Vector4 WorldColor
1757 Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
1758 GetProperty( Actor.Property.WORLD_COLOR).Get( temp );
1761 } public Matrix WorldMatrix
1765 Matrix temp = new Matrix();
1766 GetProperty( Actor.Property.WORLD_MATRIX).Get( temp );
1769 } public string Name
1774 GetProperty( Actor.Property.NAME).Get( out temp );
1779 SetProperty( Actor.Property.NAME, new Dali.Property.Value( value ) );
1782 public bool Sensitive
1787 GetProperty( Actor.Property.SENSITIVE).Get( ref temp );
1792 SetProperty( Actor.Property.SENSITIVE, new Dali.Property.Value( value ) );
1795 public bool LeaveRequired
1800 GetProperty( Actor.Property.LEAVE_REQUIRED).Get( ref temp );
1805 SetProperty( Actor.Property.LEAVE_REQUIRED, new Dali.Property.Value( value ) );
1808 public bool InheritOrientation
1813 GetProperty( Actor.Property.INHERIT_ORIENTATION).Get( ref temp );
1818 SetProperty( Actor.Property.INHERIT_ORIENTATION, new Dali.Property.Value( value ) );
1821 public bool InheritScale
1826 GetProperty( Actor.Property.INHERIT_SCALE).Get( ref temp );
1831 SetProperty( Actor.Property.INHERIT_SCALE, new Dali.Property.Value( value ) );
1834 public string ColorMode
1839 GetProperty( Actor.Property.COLOR_MODE).Get( out temp );
1844 SetProperty( Actor.Property.COLOR_MODE, new Dali.Property.Value( value ) );
1847 public string PositionInheritance
1852 GetProperty( Actor.Property.POSITION_INHERITANCE).Get( out temp );
1857 SetProperty( Actor.Property.POSITION_INHERITANCE, new Dali.Property.Value( value ) );
1860 public string DrawMode
1865 GetProperty( Actor.Property.DRAW_MODE).Get( out temp );
1870 SetProperty( Actor.Property.DRAW_MODE, new Dali.Property.Value( value ) );
1873 public Vector3 SizeModeFactor
1877 Vector3 temp = new Vector3(0.0f,0.0f,0.0f);
1878 GetProperty( Actor.Property.SIZE_MODE_FACTOR).Get( temp );
1883 SetProperty( Actor.Property.SIZE_MODE_FACTOR, new Dali.Property.Value( value ) );
1886 public string WidthResizePolicy
1891 GetProperty( Actor.Property.WIDTH_RESIZE_POLICY).Get( out temp );
1896 SetProperty( Actor.Property.WIDTH_RESIZE_POLICY, new Dali.Property.Value( value ) );
1899 public string HeightResizePolicy
1904 GetProperty( Actor.Property.HEIGHT_RESIZE_POLICY).Get( out temp );
1909 SetProperty( Actor.Property.HEIGHT_RESIZE_POLICY, new Dali.Property.Value( value ) );
1912 public string SizeScalePolicy
1917 GetProperty( Actor.Property.SIZE_SCALE_POLICY).Get( out temp );
1922 SetProperty( Actor.Property.SIZE_SCALE_POLICY, new Dali.Property.Value( value ) );
1925 public bool WidthForHeight
1930 GetProperty( Actor.Property.WIDTH_FOR_HEIGHT).Get( ref temp );
1935 SetProperty( Actor.Property.WIDTH_FOR_HEIGHT, new Dali.Property.Value( value ) );
1938 public bool HeightForWidth
1943 GetProperty( Actor.Property.HEIGHT_FOR_WIDTH).Get( ref temp );
1948 SetProperty( Actor.Property.HEIGHT_FOR_WIDTH, new Dali.Property.Value( value ) );
1951 public Vector4 Padding
1955 Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
1956 GetProperty( Actor.Property.PADDING).Get( temp );
1961 SetProperty( Actor.Property.PADDING, new Dali.Property.Value( value ) );
1964 public Vector2 MinimumSize
1968 Vector2 temp = new Vector2(0.0f,0.0f);
1969 GetProperty( Actor.Property.MINIMUM_SIZE).Get( temp );
1974 SetProperty( Actor.Property.MINIMUM_SIZE, new Dali.Property.Value( value ) );
1977 public Vector2 MaximumSize
1981 Vector2 temp = new Vector2(0.0f,0.0f);
1982 GetProperty( Actor.Property.MAXIMUM_SIZE).Get( temp );
1987 SetProperty( Actor.Property.MAXIMUM_SIZE, new Dali.Property.Value( value ) );
1990 public bool InheritPosition
1995 GetProperty( Actor.Property.INHERIT_POSITION).Get( ref temp );
2000 SetProperty( Actor.Property.INHERIT_POSITION, new Dali.Property.Value( value ) );
2003 public string ClippingMode
2008 GetProperty( Actor.Property.CLIPPING_MODE).Get( out temp );
2013 SetProperty( Actor.Property.CLIPPING_MODE, new Dali.Property.Value( value ) );
2016 public bool BatchParent
2021 GetProperty( Actor.Property.BATCH_PARENT).Get( ref temp );
2026 SetProperty( Actor.Property.BATCH_PARENT, new Dali.Property.Value( value ) );