onDisplay
Why ?
onDisplay function is used to draw something on screen.
When ?
This function is called each frame of your game after all updating functions.
Prototype
//hpp
void onDisplay() override;
//cpp
void KapEngine::MyGame::MyComponent::onDisplay() {
//do what you want
}
Last updated
Was this helpful?