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

Function scopeCallback

Engine/source/scene/sceneObject.cpp:664–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662//-----------------------------------------------------------------------------
663
664static void scopeCallback( SceneObject* obj, void* conPtr )
665{
666 NetConnection* ptr = reinterpret_cast< NetConnection* >( conPtr );
667 if( obj->isScopeable() )
668 ptr->objectInScope(obj);
669}
670
671void SceneObject::onCameraScopeQuery( NetConnection* connection, CameraScopeQuery* query )
672{

Callers

nothing calls this directly

Calls 2

isScopeableMethod · 0.80
objectInScopeMethod · 0.80

Tested by

no test coverage detected