Esempio n. 1
0
 public void GetMouseRay(SWIGTYPE_p_Ray ray)
 {
     testPINVOKE.CInputManager_GetMouseRay(swigCPtr, SWIGTYPE_p_Ray.getCPtr(ray));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
    public SWIGTYPE_p_f32 GetTerrainHeightAt(SWIGTYPE_p_Ray MouseRay)
    {
        SWIGTYPE_p_f32 ret = new SWIGTYPE_p_f32(testPINVOKE.CNatureManager_GetTerrainHeightAt__SWIG_0(swigCPtr, SWIGTYPE_p_Ray.getCPtr(MouseRay)), true);

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 3
0
    public SWIGTYPE_p_Vector3 GetTerrainPosition(SWIGTYPE_p_Ray MouseRay)
    {
        SWIGTYPE_p_Vector3 ret = new SWIGTYPE_p_Vector3(testPINVOKE.CNatureManager_GetTerrainPosition(swigCPtr, SWIGTYPE_p_Ray.getCPtr(MouseRay)), true);

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 4
0
 internal static HandleRef getCPtr(SWIGTYPE_p_Ray obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }