ドキュメント

Unity Engine

Unity Engine

forceRenderingOff

Allows turning off rendering for a specific component.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool forceRenderingOff { get; set; }

Remarks

This is useful for manually controlling the rendering of a component. Such as in a case of custom visibility culling.
Note that the enabled state of the render component does not change, but it is simply excluded from being rendered.