Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RavEngine/RavEngine
/ GetWorld
Method
GetWorld
src/ScriptComponent.cpp:33–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
}
32
33
Ref<RavEngine::World> RavEngine::ScriptComponent::GetWorld()
34
{
35
auto owner = Ref<Entity>(getOwner());
36
if (owner.isNull()) {
37
return nullptr;
38
}
39
return owner->GetWorld();
40
}
Callers
nothing calls this directly
Calls
2
getOwner
Function · 0.85
isNull
Method · 0.45
Tested by
no test coverage detected