コード例 #1
0
 public UserObjectBindings(UserObjectBindings other) : this(OgrePINVOKE.new_UserObjectBindings__SWIG_1(UserObjectBindings.getCPtr(other)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
        public UserObjectBindings swap(UserObjectBindings rhs)
        {
            UserObjectBindings ret = new UserObjectBindings(OgrePINVOKE.UserObjectBindings_swap(swigCPtr, UserObjectBindings.getCPtr(rhs)), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #3
0
ファイル: Node.cs プロジェクト: wellsanin1/Game-Engine
        public UserObjectBindings getUserObjectBindings()
        {
            UserObjectBindings ret = new UserObjectBindings(OgrePINVOKE.Node_getUserObjectBindings__SWIG_0(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #4
0
                public static UserObjectBindings FromBaseObject(BaseObject baseObj)
                {
                    if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                    {
                        return(null);
                    }
                    UserObjectBindings obj = baseObj as  UserObjectBindings;

                    if (object.Equals(obj, null))
                    {
                        obj = new UserObjectBindings(CreatedWhenConstruct.CWC_NotToCreate);
                        obj.BindNativeObject(baseObj.NativeObject, "CUserObjectBindings");
                        obj.IncreaseCast();
                    }

                    return(obj);
                }
コード例 #5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UserObjectBindings obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #6
0
                public BaseObject Create()
                {
                    UserObjectBindings emptyInstance = new UserObjectBindings(CreatedWhenConstruct.CWC_NotToCreate);

                    return(emptyInstance);
                }