기술 자료

Unity Engine

Unity Engine

StaticEditorFlags

Describes which Unity systems consider the GameObject as static, and include the GameObject in their precomputations in the Unity Editor.
읽는 시간 1분최근 업데이트: 24일 전

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
[Flags]public enum StaticEditorFlags

Remarks

Setting StaticEditorFlags at runtime has no effect on these systems.

Fields

Value

Description

BatchingStaticCombine the GameObject's Mesh with other eligible Meshes, to potentially reduce runtime rendering costs.
ContributeGIInclude the target Mesh Renderer in global illumination calculations.
ReflectionProbeStaticInclude this GameObject when when precomputing data for Reflection Probes whose Type property is set to Baked.