文档

Unity Engine

Unity Engine

RenderObjectSetContains(GameObject)

The function tests whether a GameObject is in the RenderPickingArgs.renderObjectSet.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool RenderObjectSetContains(GameObject go)

Parameters

The GameObject to test.

Returns

Type

Description

boolTrue if the GameObject is in either the ignore set or the filter set depending on renderPickingType.