Ejemplo n.º 1
0
    public override D3dShapeDesc Copy()
    {
        global::System.IntPtr cPtr = IronSightEnginePINVOKE.D3dMeshShapeDesc_Copy(swigCPtr);
        D3dShapeDesc          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new D3dShapeDesc(cPtr, false);

        return(ret);
    }
    public virtual D3dShapeDesc GetUnderlyingShape()
    {
        global::System.IntPtr cPtr = IronSightEnginePINVOKE.IObject_GetUnderlyingShape__SWIG_1(swigCPtr);
        D3dShapeDesc          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new D3dShapeDesc(cPtr, false);

        return(ret);
    }
    public IObject CreateObject(D3dShapeDesc shapedesc)
    {
        global::System.IntPtr cPtr = IronSightEnginePINVOKE.IOutputWindow_CreateObject__SWIG_3(swigCPtr, D3dShapeDesc.getCPtr(shapedesc));
        //
        if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
        {
            throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
        }
        if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
        {
            throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
        }
        IObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new IObject(cPtr, false);

        return(ret);
    }
Ejemplo n.º 4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(D3dShapeDesc obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }