Example #1
0
 public void GetRelativeForce(SWIGTYPE_p_Vector3 Force)
 {
     testPINVOKE.CPhysicsProfile_GetRelativeForce(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Force));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public void SetAngularVelocity(SWIGTYPE_p_Vector3 AngularVelocity)
 {
     testPINVOKE.CPhysicsProfile_SetAngularVelocity(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(AngularVelocity));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public void SetDirection(SWIGTYPE_p_Vector3 Direction)
 {
     testPINVOKE.CPhysicsProfile_SetDirection(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Direction));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 public void SetRelativeTorque(SWIGTYPE_p_Vector3 Torque)
 {
     testPINVOKE.CPhysicsProfile_SetRelativeTorque(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Torque));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 public void SetForceAtPosition(SWIGTYPE_p_Vector3 Force, SWIGTYPE_p_Vector3 Position)
 {
     testPINVOKE.CPhysicsProfile_SetForceAtPosition(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Force), SWIGTYPE_p_Vector3.getCPtr(Position));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
 public void SetPosition(SWIGTYPE_p_Vector3 Position)
 {
     testPINVOKE.CParticleEffect_SetPosition__SWIG_0(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Position));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #7
0
 public void SetCameraPos(SWIGTYPE_p_Vector3 Pos)
 {
     testPINVOKE.CCameraManager_SetCameraPos(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Pos));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #8
0
 public void OnHit(CInventoryItem InventoryItem, CPlayer Owner, SWIGTYPE_p_Vector3 Direction)
 {
     testPINVOKE.CPlayerPimpl_OnHit__SWIG_1(swigCPtr, CInventoryItem.getCPtr(InventoryItem), CPlayer.getCPtr(Owner), SWIGTYPE_p_Vector3.getCPtr(Direction));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #9
0
 public virtual void SetPosition(SWIGTYPE_p_Vector3 Position)
 {
     testPINVOKE.CVolumeObject_SetPosition(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Position));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #10
0
 public void OnHit(CProjectile Projectile, SWIGTYPE_p_Vector3 Direction)
 {
     testPINVOKE.CPlayerPimpl_OnHit__SWIG_0(swigCPtr, CProjectile.getCPtr(Projectile), SWIGTYPE_p_Vector3.getCPtr(Direction));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #11
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);
    }
Example #12
0
    public bool SpawnPlayer(SWIGTYPE_p_Vector3 Position, SWIGTYPE_p_f32 Threshold, CPlayer Player)
    {
        bool ret = testPINVOKE.CSpawnManager_SpawnPlayer__SWIG_1(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Position), SWIGTYPE_p_f32.getCPtr(Threshold), CPlayer.getCPtr(Player));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #13
0
    public bool PlaceItem(string ProfileName, SWIGTYPE_p_Vector3 Position)
    {
        bool ret = testPINVOKE.CItemsManager_PlaceItem__SWIG_1(swigCPtr, ProfileName, SWIGTYPE_p_Vector3.getCPtr(Position));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #14
0
    public bool PlaceItem(string ProfileName, SWIGTYPE_p_Vector3 Position, SWIGTYPE_p_Core__Physics__IPhysicsStrategy Physics)
    {
        bool ret = testPINVOKE.CItemsManager_PlaceItem__SWIG_0(swigCPtr, ProfileName, SWIGTYPE_p_Vector3.getCPtr(Position), SWIGTYPE_p_Core__Physics__IPhysicsStrategy.getCPtr(Physics));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #15
0
    public E_CHARACTER_STATE_OUTCOME SeekPosition(CPlayer Player, SWIGTYPE_p_Vector3 Position, SWIGTYPE_p_f32 elapsedTime)
    {
        E_CHARACTER_STATE_OUTCOME ret = (E_CHARACTER_STATE_OUTCOME)testPINVOKE.CCharacterStateManager_SeekPosition(swigCPtr, CPlayer.getCPtr(Player), SWIGTYPE_p_Vector3.getCPtr(Position), SWIGTYPE_p_f32.getCPtr(elapsedTime));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #16
0
    public bool GetPathByPoint(SWIGTYPE_p_Vector3 Point, SWIGTYPE_p_VectorT_Vector3_t Path)
    {
        bool ret = testPINVOKE.CCharacterStateManager_GetPathByPoint__SWIG_1(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Point), SWIGTYPE_p_VectorT_Vector3_t.getCPtr(Path));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #17
0
    public override bool Use(SWIGTYPE_p_Vector3 Target)
    {
        bool ret = testPINVOKE.CWeapon_Use(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Target));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #18
0
    public SWIGTYPE_p_u32 AddSpawnPoint(SWIGTYPE_p_u32 Id, SWIGTYPE_p_Vector3 Position, E_PLAYER_TEAM Team)
    {
        SWIGTYPE_p_u32 ret = new SWIGTYPE_p_u32(testPINVOKE.CSpawnManager_AddSpawnPoint__SWIG_3(swigCPtr, SWIGTYPE_p_u32.getCPtr(Id), SWIGTYPE_p_Vector3.getCPtr(Position), (int)Team), true);

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #19
0
    public bool CanSee(SWIGTYPE_p_Vector3 Position)
    {
        bool ret = testPINVOKE.CBuilding_CanSee(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Position));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #20
0
    public bool Shoot(CPlayer Player, SWIGTYPE_p_Vector3 Direction)
    {
        bool ret = testPINVOKE.CProjectile_Shoot(swigCPtr, CPlayer.getCPtr(Player), SWIGTYPE_p_Vector3.getCPtr(Direction));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #21
0
    public virtual bool Use(SWIGTYPE_p_Vector3 Target)
    {
        bool ret = testPINVOKE.CInventoryItem_Use(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Target));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #22
0
    public CGameObject CreateCustomObject(string MeshName, string Name, SWIGTYPE_p_Vector3 Pos)
    {
        IntPtr      cPtr = testPINVOKE.CGameObjectManager_CreateCustomObject__SWIG_1(swigCPtr, MeshName, Name, SWIGTYPE_p_Vector3.getCPtr(Pos));
        CGameObject ret  = (cPtr == IntPtr.Zero) ? null : new CGameObject(cPtr, false);

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #23
0
    public SPAWN_POINT GetSpawnPoint(SWIGTYPE_p_Vector3 Position)
    {
        IntPtr      cPtr = testPINVOKE.CSpawnManager_GetSpawnPoint__SWIG_2(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Position));
        SPAWN_POINT ret  = (cPtr == IntPtr.Zero) ? null : new SPAWN_POINT(cPtr, false);

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #24
0
 public void AddWall(SWIGTYPE_p_Vector3 From, SWIGTYPE_p_Vector3 To)
 {
     testPINVOKE.CGameObjectManager_AddWall__SWIG_1(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(From), SWIGTYPE_p_Vector3.getCPtr(To));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #25
0
    public SWIGTYPE_p_Vector3 GetCameraPos()
    {
        SWIGTYPE_p_Vector3 ret = new SWIGTYPE_p_Vector3(testPINVOKE.CCameraManager_GetCameraPos(swigCPtr), true);

        return(ret);
    }
Example #26
0
 public SWIGTYPE_p_Vector3 getAgentVelocity(uint agentNo)
 {
     SWIGTYPE_p_Vector3 ret = new SWIGTYPE_p_Vector3(RVO3DSimulatorPINVOKE.RVOSimulator_getAgentVelocity(swigCPtr, agentNo), false);
     return ret;
 }
Example #27
0
    public SWIGTYPE_p_Vector3 GetSize()
    {
        SWIGTYPE_p_Vector3 ret = new SWIGTYPE_p_Vector3(testPINVOKE.CPhysicsProfile_GetSize(swigCPtr), true);

        return(ret);
    }
 internal static HandleRef getCPtr(SWIGTYPE_p_Vector3 obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #29
0
 public void setAgentPosition(uint agentNo, SWIGTYPE_p_Vector3 position)
 {
     RVO3DSimulatorPINVOKE.RVOSimulator_setAgentPosition(swigCPtr, agentNo, SWIGTYPE_p_Vector3.getCPtr(position));
     if (RVO3DSimulatorPINVOKE.SWIGPendingException.Pending) throw RVO3DSimulatorPINVOKE.SWIGPendingException.Retrieve();
 }
Example #30
0
 public void setAgentVelocity(uint agentNo, SWIGTYPE_p_Vector3 velocity)
 {
     RVO3DSimulatorPINVOKE.RVOSimulator_setAgentVelocity(swigCPtr, agentNo, SWIGTYPE_p_Vector3.getCPtr(velocity));
     if (RVO3DSimulatorPINVOKE.SWIGPendingException.Pending) throw RVO3DSimulatorPINVOKE.SWIGPendingException.Retrieve();
 }
Example #31
0
 public RVOSimulator(float timeStep, float neighborDist, uint maxNeighbors, float timeHorizon, float radius, float maxSpeed, SWIGTYPE_p_Vector3 velocity)
     : this(RVO3DSimulatorPINVOKE.new_RVOSimulator__SWIG_1(timeStep, neighborDist, maxNeighbors, timeHorizon, radius, maxSpeed, SWIGTYPE_p_Vector3.getCPtr(velocity)), true)
 {
     if (RVO3DSimulatorPINVOKE.SWIGPendingException.Pending) throw RVO3DSimulatorPINVOKE.SWIGPendingException.Retrieve();
 }
Example #32
0
 public uint addAgent(SWIGTYPE_p_Vector3 position)
 {
     uint ret = RVO3DSimulatorPINVOKE.RVOSimulator_addAgent__SWIG_0(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(position));
     if (RVO3DSimulatorPINVOKE.SWIGPendingException.Pending) throw RVO3DSimulatorPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #33
0
    public SWIGTYPE_p_Vector3 GetPositionOffset()
    {
        SWIGTYPE_p_Vector3 ret = new SWIGTYPE_p_Vector3(testPINVOKE.CPhysicsProfile_GetPositionOffset(swigCPtr), true);

        return(ret);
    }
Example #34
0
    public SWIGTYPE_p_Vector3 GetAngularVelocity()
    {
        SWIGTYPE_p_Vector3 ret = new SWIGTYPE_p_Vector3(testPINVOKE.CPhysicsProfile_GetAngularVelocity(swigCPtr), true);

        return(ret);
    }
Example #35
0
    public SWIGTYPE_p_Vector3 GetPosition()
    {
        SWIGTYPE_p_Vector3 ret = new SWIGTYPE_p_Vector3(testPINVOKE.CBuilding_GetPosition(swigCPtr), true);

        return(ret);
    }
Example #36
0
 public void setAgentDefaults(float neighborDist, uint maxNeighbors, float timeHorizon, float radius, float maxSpeed, SWIGTYPE_p_Vector3 velocity)
 {
     RVO3DSimulatorPINVOKE.RVOSimulator_setAgentDefaults__SWIG_0(swigCPtr, neighborDist, maxNeighbors, timeHorizon, radius, maxSpeed, SWIGTYPE_p_Vector3.getCPtr(velocity));
     if (RVO3DSimulatorPINVOKE.SWIGPendingException.Pending) throw RVO3DSimulatorPINVOKE.SWIGPendingException.Retrieve();
 }
Example #37
0
 public uint addAgent(SWIGTYPE_p_Vector3 position, float neighborDist, uint maxNeighbors, float timeHorizon, float radius, float maxSpeed)
 {
     uint ret = RVO3DSimulatorPINVOKE.RVOSimulator_addAgent__SWIG_2(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(position), neighborDist, maxNeighbors, timeHorizon, radius, maxSpeed);
     if (RVO3DSimulatorPINVOKE.SWIGPendingException.Pending) throw RVO3DSimulatorPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }