IrrTerrainOverrideLODDistance

section index

## NAME

IrrTerrainOverrideLODDistance - Override the default generation of distance thresholds.

## SYNOPSIS

IrrTerrainOverrideLODDistance(*terrain, LOD.l, newDistance.d)

## INPUTS

*terrain | - | a pointer to terrain scene node
LOD.l | - | new Level of Detail
newDistance.d | - | ne distance

## FUNCTION

Override the default generation of distance thresholds. For determining the LOD a patch is rendered at. If any LOD is overridden, then the scene node will no longer apply scaling factors to these values. If you override these distances, and then apply a scale to the scene node, it is your responsibility to update the new distances to work best with your new terrain size.

## RESULT

nothing