ドキュメント

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.