C4 Engine
C4 Engine API Documentation

class OrthoViewportWidget

Defined in:  C4Viewports.h
The OrthoViewportWidget class represents an interface widget that displays an orthographic 3D viewport.
Definition

class OrthoViewportWidget final : public ViewportWidget

Constructor

OrthoViewportWidget(const Vector2D& size, const Vector2D& scale);

Parameters
size The size of the viewport, in pixels.
scale The orthographic camera scale.
Description
The OrthoViewportWidget class displays a viewport with an orthographic camera.
Base Classes
ViewportWidget An OrthoViewportWidget is a specific type of viewport.
See Also

FrustumViewportWidget

Wiki Articles

Ortho Viewport Widget