gthreeorthographiccamera

gthreeorthographiccamera

Functions

Properties

float bottom Read / Write
float left Read / Write
float right Read / Write
float top Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GthreeObject
        ╰── GthreeCamera
            ╰── GthreeOrthographicCamera

Includes

#include <gthree/gthree.h>

Description

Functions

gthree_orthographic_camera_new ()

GthreeOrthographicCamera *
gthree_orthographic_camera_new (float left,
                                float right,
                                float top,
                                float bottom,
                                float near,
                                float far);

gthree_orthographic_camera_set_bottom ()

void
gthree_orthographic_camera_set_bottom (GthreeOrthographicCamera *orthographic,
                                       float bottom);

gthree_orthographic_camera_get_bottom ()

float
gthree_orthographic_camera_get_bottom (GthreeOrthographicCamera *orthographic);

gthree_orthographic_camera_set_left ()

void
gthree_orthographic_camera_set_left (GthreeOrthographicCamera *orthographic,
                                     float left);

gthree_orthographic_camera_get_left ()

float
gthree_orthographic_camera_get_left (GthreeOrthographicCamera *orthographic);

gthree_orthographic_camera_set_right ()

void
gthree_orthographic_camera_set_right (GthreeOrthographicCamera *orthographic,
                                      float right);

gthree_orthographic_camera_get_right ()

float
gthree_orthographic_camera_get_right (GthreeOrthographicCamera *orthographic);

gthree_orthographic_camera_set_top ()

void
gthree_orthographic_camera_set_top (GthreeOrthographicCamera *orthographic,
                                    float top);

gthree_orthographic_camera_get_top ()

float
gthree_orthographic_camera_get_top (GthreeOrthographicCamera *orthographic);

Types and Values

GthreeOrthographicCamera

typedef struct _GthreeOrthographicCamera GthreeOrthographicCamera;

GthreeOrthographicCameraClass

typedef struct {
  GthreeCameraClass parent_class;
} GthreeOrthographicCameraClass;

Property Details

The “bottom” property

  “bottom”                   float

Bottom.

Owner: GthreeOrthographicCamera

Flags: Read / Write

Default value: -1


The “left” property

  “left”                     float

Left.

Owner: GthreeOrthographicCamera

Flags: Read / Write

Default value: -1


The “right” property

  “right”                    float

Right.

Owner: GthreeOrthographicCamera

Flags: Read / Write

Default value: 1


The “top” property

  “top”                      float

Top.

Owner: GthreeOrthographicCamera

Flags: Read / Write

Default value: 1