Class StaticMaterialQueryNode
Class StaticMaterialQueryNode.
Inheritance
StaticMaterialQueryNode
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.Core
Syntax
[Serializable]
public class StaticMaterialQueryNode : MaterialQueryNode, IQuery<Material>, IQuery
Methods
Query(QueryContext)
Queries the specified context.
Declaration
public override Material Query(QueryContext context = null)
Parameters
Type | Name | Description |
---|---|---|
QueryContext | context | The context. |
Returns
Type | Description |
---|---|
Material | Material. |
Overrides
UnityEngine.Industrial.Configuring.Core.QueryNode<UnityEngine.Material>.Query(UnityEngine.Industrial.Configuring.Core.QueryContext)
SetQuery(Material, QueryContext)
Sets the query.
Declaration
public override void SetQuery(Material material, QueryContext context = null)
Parameters
Type | Name | Description |
---|---|---|
Material | material | The material. |
QueryContext | context | The context. |
Overrides
UnityEngine.Industrial.Configuring.Core.QueryNode<UnityEngine.Material>.SetQuery(UnityEngine.Material, UnityEngine.Industrial.Configuring.Core.QueryContext)