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

Method onCameraScopeQuery

Engine/source/afx/afxCamera.cpp:1062–1067  ·  view source on GitHub ↗

Override to ensure both are kept in scope

Source from the content-addressed store, hash-verified

1060
1061// Override to ensure both are kept in scope
1062void afxCamera::onCameraScopeQuery(NetConnection* conn, CameraScopeQuery* query)
1063{
1064 if (mCam_subject)
1065 conn->objectInScope(mCam_subject);
1066 Parent::onCameraScopeQuery(conn, query);
1067}
1068
1069//----------------------------------------------------------------------------
1070// check if the object needs to be observed through its own camera...

Callers

nothing calls this directly

Calls 1

objectInScopeMethod · 0.80

Tested by

no test coverage detected