文档

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 分钟最后更新于 1 个月前

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.
OccludeeStaticMark the GameObject as a Static Occludee in the occlusion culling system.
OccluderStaticMark the GameObject as a Static Occluder in the occlusion culling system.
ReflectionProbeStaticInclude this GameObject when when precomputing data for Reflection Probes whose Type property is set to Baked.