文档

Unity Engine

Unity Engine

renderObjectSet

A set of GameObjects to check and determine what this callback is expected to render.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public IReadOnlyCollection<GameObject> renderObjectSet { get; }

Remarks

Depending on renderPickingType, the GameObjects in this set are expected to be either included or excluded from the picking rendering. Refer to renderPickingType.
This set cannot be null, but it can be empty. Use RenderObjectSetContains to query whether a GameObject is contained in the set.