C4 Engine
C4 Engine API Documentation

class WorldViewportWidget

Defined in:  C4Viewports.h
The WorldViewportWidget class represents an interface widget that renders a world in a 3D viewport.
Definition

class WorldViewportWidget : public FrustumViewportWidget

Constructor

WorldViewportWidget(const Vector2D& size, float projection);

Parameters
size The size of the viewport, in pixels.
projection The projection distance of the frustum camera.
Description
The WorldViewportWidget class renders a world into a viewport with a frustum camera.
Base Classes
FrustumViewportWidget A WorldViewportWidget is a specific type of frustum viewport.
Wiki Articles

World Viewport Widget