文档

Unity Engine

Unity Engine

LOD

A structure that you can pass to LODGroup.SetLODs to configure a particular LOD level on a LODGroup.
阅读时间1 分钟最后更新于 1 个月前

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.