MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / scopeCallback

Function scopeCallback

Engine/source/scene/sceneObject.cpp:770–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

768//-----------------------------------------------------------------------------
769
770static void scopeCallback( SceneObject* obj, void* conPtr )
771{
772 NetConnection* ptr = reinterpret_cast< NetConnection* >( conPtr );
773 if( obj->isScopeable() )
774 ptr->objectInScope(obj);
775}
776
777void SceneObject::onCameraScopeQuery( NetConnection* connection, CameraScopeQuery* query )
778{

Callers

nothing calls this directly

Calls 2

isScopeableMethod · 0.80
objectInScopeMethod · 0.80

Tested by

no test coverage detected