Class: LOD

LOD() → {LOD}

new LOD() → {LOD}

Provides an object which stores meshes at different levels based on specified distance. This object is ued by zincObject to provide mesh at different LODs. A layer is displayed when the distance from the camera is greater than its specified distance and closest compared to other layers. This is intended to be an internal object used only by Zinc Object. This object assumes the centroid and bounding box are consistent between different level of layers.
Author:
  • Alan Wu
Source:
Returns:
Type
LOD

Methods

checkTransparentMesh()

Check if material is transparent, create secondary mesh for better rendering if required.
Source:

containsLevels()

Check if there are multiple levels.
Source:

lodLoader()

Loader for lod object
Source: