BVB Source Codes

CRYENGINE Show IWorldQuery.h Source code

Return Download CRYENGINE: download IWorldQuery.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #ifndef __IWORLDQUERY_H__
  4. #define __IWORLDQUERY_H__
  5.  
  6. #pragma once
  7.  
  8. #include "IGameObject.h"
  9.  
  10. typedef std::vector<EntityId> Entities;
  11.  
  12. struct IWorldQuery : IGameObjectExtension
  13. {
  14.         virtual IEntity*                GetEntityInFrontOf() = 0;
  15.         virtual const EntityId*         ProximityQuery(int& numberOfEntities) = 0;
  16.         virtual const Vec3&             GetPos() const = 0;
  17.         virtual const Vec3&             GetDir() const = 0;
  18.         virtual const EntityId          GetLookAtEntityId(bool ignoreGlass = false) = 0;
  19.         virtual const ray_hit*          GetLookAtPoint(const float fMaxDist = 0, bool ignoreGlass = false) = 0;
  20.         virtual const ray_hit*          GetBehindPoint(const float fMaxDist = 0) = 0;
  21.         virtual const EntityId*         GetEntitiesAround(int& num) = 0;
  22.         virtual IPhysicalEntity* const* GetPhysicalEntitiesAround(int& num) = 0;
  23.         virtual IPhysicalEntity*        GetPhysicalEntityInFrontOf() = 0;
  24. };
  25.  
  26. #endif
  27.  
downloadIWorldQuery.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top