docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GraphValidationResult

    The results of a graph validation.

    Inheritance
    object
    GraphValidationResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Importer.Validations
    Assembly: Unity.Importer.dll
    Syntax
    public class GraphValidationResult
    Remarks

    Contains a list of all errors generated during a graph validation.

    Properties

    Errors

    The errors generated during the validation of an ImporterGraph.

    Declaration
    public IReadOnlyList<BaseGraphValidationError> Errors { get; }
    Property Value
    Type Description
    IReadOnlyList<BaseGraphValidationError>

    IsValid

    Overall result of the validation.

    Declaration
    public bool IsValid { get; }
    Property Value
    Type Description
    bool

    Methods

    DisplayErrors()

    Display a readable list of validation error in the Unity console.

    Declaration
    public void DisplayErrors()

    ToString()

    Get a string representing the errors of this validation.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string representing the errors of this validation

    Overrides
    object.ToString()
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)