Class Context

Contains the render/update loop context. Each Entity being updated is given a context in its update methods. This context can be modified by entities (notably the near and far clipping planes).

Hierarchy

  • Context

Constructors

Properties

Accessors

Methods

Constructors

  • Constructs a context.

    Parameters

    • camera: Camera

      the active camera.

    • instance: Instance

      the giro3d instance.

    Returns Context

Properties

camera: Camera

The active camera.

distance: {
    max: number;
    min: number;
    plane: Plane;
}

Contains clipping plane distances.

Type declaration

  • max: number

    The maximum distance to the camera

  • min: number

    The minimum distance to the camera

  • plane: Plane

    The plane that is normal to the line of sight.

instance: Instance

The giro3d instance

Accessors

Methods

  • Parameters

    Returns void

Generated using TypeDoc