Class LODFrustum

Check the planar distance between the nodes center and the view position.

Only subdivides elements inside of the camera frustum.

Hierarchy

Constructors

Properties

pointOnly: boolean = false

If set true only the center point of the object is considered.

Otherwise the full bouding box of the objects are considered.

simplifyDistance: number

Distance to simplify the tiles.

subdivideDistance: number

Distance to subdivide the tiles.

testCenter: boolean = true

If true only the central point of the plane geometry will be used

Otherwise the object bouding sphere will be tested, providing better results for nodes on frustum edge but will lower performance.

Methods

  • Update LOD of the MapView and Camera position on the world.

    Parameters

    • view: MapView

      Map view for wich the LOD will be updated.

    • camera: Camera

      Camera used to view the scene.

    • renderer: WebGLRenderer

      Renderer object.

    • scene: Object3D<Event>

      Scene that compose the mapview.

    Returns void

Generated using TypeDoc