Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LOD

Structure for building a LOD for passing to the SetLODs function.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public struct LOD

Fields

Value

Description

fadeTransitionWidthWidth of the cross-fade transition zone (proportion to the current LOD's whole length) [0-1]. Only used if it's not animated.
renderersList of renderers for this LOD level.
screenRelativeTransitionHeightThe screen relative height to use for the transition [0-1].

Constructors

Constructor

Description

LOD(System.Single,UnityEngine.Renderer[])Construct a LOD.