Package com.jme3.terrain.geomipmap
Class TerrainGridLodControl
java.lang.Object
com.jme3.scene.control.AbstractControl
com.jme3.terrain.geomipmap.TerrainLodControl
com.jme3.terrain.geomipmap.TerrainGridLodControl
- All Implemented Interfaces:
Savable
,Control
,JmeCloneable
,Cloneable
Updates grid offsets and cell positions.
As well as updating LOD.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jme3.terrain.geomipmap.TerrainLodControl
TerrainLodControl.UpdateLOD
-
Field Summary
Fields inherited from class com.jme3.terrain.geomipmap.TerrainLodControl
camera, cameraLocations, cameras, forceUpdate, hasResetLod, indexer, lastCameraLocations, lodCalcRunning, lodCalculator, previousCameraLocation, terrain, useRenderCamera
Fields inherited from class com.jme3.scene.control.AbstractControl
enabled, spatial
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
updateLOD
(SafeArrayList<Vector3f> locations, LodCalculator lodCalculator) Methods inherited from class com.jme3.terrain.geomipmap.TerrainLodControl
cloneFields, controlRender, controlUpdate, createLodUpdateTask, detachAndCleanUpControl, forceUpdate, getLodCalculator, isUseRenderCamera, jmeClone, makeLodCalculator, prepareTerrain, read, setCamera, setCameras, setEnabled, setLodCalculator, setSpatial, setTerrain, setUseRenderCamera, updateLOD, updateLodOffCount, write
Methods inherited from class com.jme3.scene.control.AbstractControl
cloneForSpatial, getSpatial, isEnabled, render, update
-
Constructor Details
-
TerrainGridLodControl
-
-
Method Details
-
updateLOD
- Overrides:
updateLOD
in classTerrainLodControl
-