LuciadCPillar C# 2023.1.02
Luciad.Maps.Map.IRendererCallback Interface Reference

This callback can be used to execute tasks on the render thread right before or right after the Map is painted by Map::Renderer. More...

Public Member Functions

void OnAfterPaint (Map map)
 This method is called after the renderer has finished painting the contents of the Map. More...
 
void OnBeforePaint (Map map)
 This method is called before the renderer paints the contents of the Map. More...
 

Detailed Description

This callback can be used to execute tasks on the render thread right before or right after the Map is painted by Map::Renderer.

This callback can for example be used to adapt the camera on each repaint. You can add or remove this callback from the Map. 2021.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::Map::IRendererCallback.

Member Function Documentation

◆ OnAfterPaint()

void Luciad.Maps.Map.IRendererCallback.OnAfterPaint ( Map  map)

This method is called after the renderer has finished painting the contents of the Map.

map

the map that owns the renderer

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::Map::IRendererCallback::onAfterPaint.

◆ OnBeforePaint()

void Luciad.Maps.Map.IRendererCallback.OnBeforePaint ( Map  map)

This method is called before the renderer paints the contents of the Map.

map

the map that owns the renderer

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::Map::IRendererCallback::onBeforePaint.