기술 자료

Unity Engine

Unity Engine

SetLODSettings(float, int, bool)

Sets the lodBias and maximumLODLevel at the same time.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void SetLODSettings(float lodBias, int maximumLODLevel, bool setDirty = true)

Parameters

lodBias

Global multiplier for the LOD's switching distance.

maximumLODLevel

A maximum LOD level. All LOD groups.

setDirty

If true, marks all views as dirty.

Remarks

If you pass in
true
for the
setDirty
parameter, Unity refreshes all views.