ドキュメント

Unity Engine

Unity Engine

HierarchySearchFilter

Encapsulates all data needed to filter a hierarchy.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Struct
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule
public struct HierarchySearchFilter

Properties

Property

Description

IsValidWhether the filter is valid and has a name.
NameThe name of the filter.
NumValueFilter numerical value.
OpThe filter search operator.
ValueThe textual value of the filter.

Static Properties

Property

Description

InvalidThe default invalid HierarchySearchFilter. This assumes the Hierarchy has a query, but is invalid, so no nodes are shown.

Methods

Method

Description

ToStringConverts a filter to its full textual value: \<FilerName\> \<Filter operator\> \<FilterValue\>. The textual value is escaped with double quotation marks if it is necessary.

Static Methods

Method

Description

ToOpConverts a textual value to its operator value if possible.
ToStringConverts an operator to its textual value.