public virtual Result Split(SWIGTYPE_p_Plane splitplane, SWIGTYPE_p_p_IObject first, SWIGTYPE_p_p_IObject second)
    {
        Result ret = new Result(IronSightEnginePINVOKE.IObject_Split(swigCPtr, SWIGTYPE_p_Plane.getCPtr(splitplane), SWIGTYPE_p_p_IObject.getCPtr(first), SWIGTYPE_p_p_IObject.getCPtr(second)), true);

        //
        if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
        {
            throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public virtual Result Break(int targetnumparts, SWIGTYPE_p_p_IObject parts, SWIGTYPE_p_int numparts)
    {
        Result ret = new Result(IronSightEnginePINVOKE.IObject_Break(swigCPtr, targetnumparts, SWIGTYPE_p_p_IObject.getCPtr(parts), SWIGTYPE_p_int.getCPtr(numparts)), true);

        //
        if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
        {
            throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_IObject obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }