MCPcopy Create free account
hub / github.com/carbonengine/trinity / OnQueryBegin

Method OnQueryBegin

trinity/Interior/Tr2InteriorScene.cpp:1030–1039  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description This function is called at the beginning of visibility query. See Also: OnQueryEnd, DoQueryBegin, DoQueryBeginPrePass --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1028// OnQueryEnd, DoQueryBegin, DoQueryBeginPrePass
1029// --------------------------------------------------------------------------------------
1030void Tr2InteriorScene::OnQueryBegin( void )
1031{
1032 Tr2VisibilityEvent event;
1033 event.m_eventType = Tr2VisibilityEvent::QUERY_BEGIN;
1034
1035 if( m_visibilityQueryType == PRIMARY_QUERY )
1036 {
1037 m_visibilityResults->AddVisibilityEvent( event );
1038 }
1039}
1040
1041void Tr2InteriorScene::OnInstanceVisible( ITr2InteriorCullable* cullable, const Matrix& objectToWorld )
1042{

Callers

nothing calls this directly

Calls 1

AddVisibilityEventMethod · 0.80

Tested by

no test coverage detected