SpiecsEngine
Loading...
Searching...
No Matches
◆
RemoveComponent()
template<typename T >
void Spices::World::RemoveComponent
(
entt::entity
e
)
Remove
Component
owned from this entity.
Template Parameters
T
Which
Component
we will remove.
Parameters
[in]
e
entt::entity.
Definition at line
366
of file
World.h
.
367
{
368
SPICES_PROFILE_ZONE
;
369
370
std::unique_lock<std::shared_mutex> lock(
m_Mutex
);
371
372
m_Registry
.remove<
T
>(
e
);
373
}
SPICES_PROFILE_ZONE
#define SPICES_PROFILE_ZONE
Definition
TracyProfilerWrapper.h:100
Spices::World::m_Registry
entt::registry m_Registry
This variable handles all entity.
Definition
World.h:250
Spices::World::m_Mutex
std::shared_mutex m_Mutex
Mutex for world.
Definition
World.h:245
SpicesTest::VariableTraitsTestN::e
void * e
Definition
VariableTraits_test.h:36
Spices::Key::T
@ T
Definition
KeyCodes.h:65
Spices
World
Generated on Sun Mar 8 2026 10:24:50 for SpiecsEngine by
1.10.0