coastline 0.0.4
Loading...
Searching...
No Matches
ViewportRect Struct Reference

The rectangle of the screen a view fills. More...

#include <render.h>

Public Attributes

s32 x
s32 y
s32 width
s32 height
s32 vehicleIndex

Detailed Description

The rectangle of the screen a view fills.

Member Data Documentation

◆ x

s32 ViewportRect::x

The left edge, in screen pixels.

◆ y

s32 ViewportRect::y

The top edge, in screen pixels.

◆ width

s32 ViewportRect::width

The width, in screen pixels.

◆ height

s32 ViewportRect::height

The height, in screen pixels.

◆ vehicleIndex

s32 ViewportRect::vehicleIndex

The vehicle of the player the view follows.


The documentation for this struct was generated from the following file: