文档

Unity Engine


User Manual

Script Reference

Unity Engine


RenderObjectSetContains(GameObject)

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

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.