Class MaterialQueryNode
Class MaterialQueryNode.
Inheritance
MaterialQueryNode
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.Core
Syntax
[Serializable]
public abstract class MaterialQueryNode : QueryNode<Material>, IQuery<Material>, IQuery
Properties
materialPathId
Gets the material path identifier.
Declaration
protected string materialPathId { get; }
Property Value
Type | Description |
---|---|
String | The material path identifier. |
Methods
ApplyOverride(QueryNode)
Applies the override.
Declaration
public override bool ApplyOverride(QueryNode overrideSource)
Parameters
Type | Name | Description |
---|---|---|
QueryNode | overrideSource | The override source. |
Returns
Type | Description |
---|---|
Boolean |
|
Overrides
UnityEngine.Industrial.Configuring.Core.QueryNode<UnityEngine.Material>.ApplyOverride(UnityEngine.Industrial.Configuring.Core.QueryNode)
BackupOriginal()
Backups the original.
Declaration
protected override void BackupOriginal()
Overrides
UnityEngine.Industrial.Configuring.Core.QueryNode<UnityEngine.Material>.BackupOriginal()
IsMaterialPathValid(QueryContext)
Determines whether [is material path valid] [the specified query context].
Declaration
protected bool IsMaterialPathValid(QueryContext queryContext)
Parameters
Type | Name | Description |
---|---|---|
QueryContext | queryContext | The query context. |
Returns
Type | Description |
---|---|
Boolean |
|
IsQueryValid(QueryContext)
Verify if query is valid
Declaration
public override bool IsQueryValid(QueryContext context)
Parameters
Type | Name | Description |
---|---|---|
QueryContext | context |
Returns
Type | Description |
---|---|
Boolean | true if the query is valid |
Overrides
ResetOverride()
Resets the override.
Declaration
public override void ResetOverride()
Overrides
UnityEngine.Industrial.Configuring.Core.QueryNode<UnityEngine.Material>.ResetOverride()
SetMaterialPathId(Material, QueryContext)
Sets the material path identifier.
Declaration
protected void SetMaterialPathId(Material material, QueryContext queryContext)
Parameters
Type | Name | Description |
---|---|---|
Material | material | The material. |
QueryContext | queryContext | The query context. |