# Foliage LOD Distance Scale

**URL:** <https://forums.unrealengine.com/t/foliage-lod-distance-scale/400259>\
**Category:** World Creation\
**Tags:** console-commands, quality-settings, unreal-engine, Foliage, UE4, question\
**Created:** [July 17, 2017, 3:55pm UTC](https://forums.unrealengine.com/t/foliage-lod-distance-scale/400259 "2017-07-17T15:55:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![erebel55](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@erebel55](https://forums.unrealengine.com/u/erebel55)\
**Post date:** [July 17, 2017, 3:55pm UTC](https://forums.unrealengine.com/t/foliage-lod-distance-scale/400259/1 "2017-07-17T15:55:11Z")

</div>

Is there an equivalent to `r.StaticMeshLODDistanceScale` that works with foliage?

I have tested it out and it does not work for foliage.

I have a bunch of trees placed as foliage and I would like to be able to control the LOD distance scale via a console command so that I can scale it differently based on graphics quality settings (high, medium, low).

If not, can anyone point me in a direction in the code base to get started writing one?

---

<div class="post-metadata">

**Author:** ![erebel55](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@erebel55](https://forums.unrealengine.com/u/erebel55)\
**Post date:** [July 21, 2017, 3:35pm UTC](https://forums.unrealengine.com/t/foliage-lod-distance-scale/400259/2 "2017-07-21T15:35:37Z")

</div>

Found it.

`foliage.LODDistanceScale`
