MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / IsInWorld

Method IsInWorld

src/ScriptComponent.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18bool RavEngine::ScriptComponent::IsInWorld()
19{
20 auto owner = getOwner();
21 return !owner.isNull() || Ref<Entity>(owner)->IsInWorld();
22}
23
24Ref<Transform> RavEngine::ScriptComponent::transform()
25{

Callers

nothing calls this directly

Calls 2

getOwnerFunction · 0.85
isNullMethod · 0.45

Tested by

no test coverage detected