docs.unity3d.com
    Show / Hide Table of Contents

    Class MaterialQueryNode

    Class MaterialQueryNode.

    Inheritance
    Object
    QueryNode
    QueryNode<Material>
    MaterialQueryNode
    FindMaterialByNameQueryNode
    StaticMaterialQueryNode
    Inherited Members
    QueryNode<Material>.ResultObject
    QueryNode<Material>.m_Result
    QueryNode<Material>.Result
    QueryNode<Material>.HasAnOverride()
    QueryNode<Material>.Query(QueryContext)
    QueryNode<Material>.ExecuteQuery(QueryContext)
    QueryNode<Material>.ResolveQuery(QueryContext)
    QueryNode<Material>.SetQuery(Material, QueryContext)
    QueryNode.overrideQuery
    QueryNode.id
    QueryNode.EnsureId()
    Namespace: Unity.Industrial.Forma.Core.Variants
    Syntax
    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

    true if XXXX, false otherwise.

    Overrides
    Unity.Industrial.Forma.Core.Variants.QueryNode<Material>.ApplyOverride(Unity.Industrial.Forma.Core.Variants.QueryNode)

    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

    true if [is material path valid] [the specified query context]; otherwise, false.

    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
    QueryNode.IsQueryValid(QueryContext)

    ResetOverride(QueryContext)

    Resets the override.

    Declaration
    public override void ResetOverride(QueryContext context)
    Parameters
    Type Name Description
    QueryContext context
    Overrides
    Unity.Industrial.Forma.Core.Variants.QueryNode<Material>.ResetOverride(Unity.Industrial.Forma.Core.Variants.QueryContext)

    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.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023