Version: 5.3 (switch to 5.4b)
ЯзыкEnglish
  • C#
  • JS

Язык программирования

Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.

LOD

struct in UnityEngine

Руководство

Описание

Structure for building a LOD for passing to the SetLODs function.

Переменные

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].

Конструкторы

LODConstruct a LOD.