C4 Engine Terathon Software C4 Engine API Documentation

• Interface Manager

API Links
Developer Links

class ViewportWidget

Defined in:  C4Viewports.h
The ViewportWidget class is the base class for interface widgets that display 3D viewports.
Definition

class ViewportWidget : public RenderableWidget

Constructor

ViewportWidget(ViewportType type, const Vector2D& size);

The ViewportWidget constructor has protected access. The ViewportWidget class can only exist as the base class for a more specific type of viewport.
Parameters
type The type of the viewport.
size The size of the viewport, in pixels.
Description


Base Classes
RenderableWidget All rendered interface widgets are subclasses of RenderableWidget.
See Also

OrthoViewportWidget

FrustumViewportWidget