SetLodPercent Property

Usage:
   GeometryTemplate.SetLodPercent number number

Argument values:

argument 1:    range is 0 to 5; most commonly 0, 1, 2
argument 2:    range is 0.03 to 1.0; most commonly 1.0

Related properties: File, SetLodRange

Used in object types (and how often in each type): AnimatedMesh (23%)

Used in a total of 13 .con files: Geometries.con

Parent directory of these .con files: objects/Soldiers

Example: (from objects/Soldiers/BritishCommandoSoldier/Geometries.con)
   GeometryTemplate.Create AnimatedMesh Soldier/3PBritCommandoBody
   GeometryTemplate.SetSkin animations/BritCommandoBody.skn
   GeometryTemplate.File BritCommandoBody
   GeometryTemplate.HasDynamicShadow 1
   GeometryTemplate.SetLodRange 0 0 1 30 2 80
   GeometryTemplate.SetLodRange 3 150 4 210 5 230
   GeometryTemplate.SetLodPercent 0 1.0
   GeometryTemplate.SetLodPercent 1 0.7
   GeometryTemplate.SetLodPercent 2 0.3
   GeometryTemplate.SetLodPercent 3 0.2
   GeometryTemplate.SetLodPercent 4 0.1
   GeometryTemplate.SetLodPercent 5 0.05


Go to the GeometryTemplate properties list page, GeometryTemplate page, All Properties list, or Main scripting page.