SpiecsEngine
 
Loading...
Searching...
No Matches

◆ QueryEntitybyID()

Entity Spices::World::QueryEntitybyID ( uint32_t id)

Get World Entity by id(entt::entity).

Parameters
[in]idId(entt::entity)
Returns
Returns valid Entity if fined.

Definition at line 41 of file World.cpp.

42 {
44
45 return id == -1 ? Entity() : Entity((entt::entity)id, this);
46 }
#define SPICES_PROFILE_ZONE
friend class Entity
Definition World.h:262