Class FindRendererByNameQueryNode
Class FindRendererByNameQueryNode.
Inheritance
FindRendererByNameQueryNode
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.Core
Syntax
[Serializable]
public class FindRendererByNameQueryNode : ListRendererQueryNode, IQuery<List<Renderer>>, IQuery
Properties
searchName
Gets or sets the name of the search.
Declaration
public string searchName { get; set; }
Property Value
Type | Description |
---|---|
String | The name of the search. |
Methods
FindRendererForName(QueryContext)
Finds the name of the renderer for.
Declaration
public List<Renderer> FindRendererForName(QueryContext context)
Parameters
Type | Name | Description |
---|---|---|
QueryContext | context | The context. |
Returns
Type | Description |
---|---|
List<Renderer> | List<Renderer>. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | model |
Query(QueryContext)
Find all renderer of this name within the context
Declaration
public override List<Renderer> Query(QueryContext context = null)
Parameters
Type | Name | Description |
---|---|---|
QueryContext | context | The context. |
Returns
Type | Description |
---|---|
List<Renderer> | All renderer of the executed query |
Overrides
UnityEngine.Industrial.Configuring.Core.QueryNode<System.Collections.Generic.List<UnityEngine.Renderer>>.Query(UnityEngine.Industrial.Configuring.Core.QueryContext)