Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StaticEditorFlags

Describes which Unity systems consider the GameObject as static, and include the GameObject in their precomputations in the Unity Editor.
Read time 1 minuteLast updated 3 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
[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.