API (v2.0.0) - Giro3D
    Preparing search index...

    Interface Context

    Contains the render/update loop context. Each entities.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).

    interface Context {
        distance: { max: number; min: number; plane: Plane };
        view: View;
    }
    Index

    Properties

    Properties

    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, and located at the position of the camera

    view: View

    The view.