docs.unity3d.com
    Show / Hide Table of Contents

    Class GraphSelection

    Inheritance
    Object
    GraphSelection
    Namespace: Unity.VisualScripting
    Syntax
    public sealed class GraphSelection : ISet<IGraphElement>, ICollection<IGraphElement>, IEnumerable<IGraphElement>, IEnumerable

    Constructors

    GraphSelection()

    Declaration
    public GraphSelection()

    Properties

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    Int32

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Add(IGraphElement)

    Declaration
    public bool Add(IGraphElement item)
    Parameters
    Type Name Description
    IGraphElement item
    Returns
    Type Description
    Boolean
    Implements
    ISet<T>.Add(T)

    Clear()

    Declaration
    public void Clear()

    Contains(IGraphElement)

    Declaration
    public bool Contains(IGraphElement item)
    Parameters
    Type Name Description
    IGraphElement item
    Returns
    Type Description
    Boolean

    CopyTo(IGraphElement[], Int32)

    Declaration
    public void CopyTo(IGraphElement[] array, int arrayIndex)
    Parameters
    Type Name Description
    IGraphElement[] array
    Int32 arrayIndex

    ExceptWith(IEnumerable<IGraphElement>)

    Declaration
    public void ExceptWith(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Implements
    ISet<T>.ExceptWith(IEnumerable<T>)

    GetEnumerator()

    Declaration
    public HashSet<IGraphElement>.Enumerator GetEnumerator()
    Returns
    Type Description
    HashSet.Enumerator<>

    IntersectWith(IEnumerable<IGraphElement>)

    Declaration
    public void IntersectWith(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Implements
    ISet<T>.IntersectWith(IEnumerable<T>)

    IsProperSubsetOf(IEnumerable<IGraphElement>)

    Declaration
    public bool IsProperSubsetOf(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Returns
    Type Description
    Boolean
    Implements
    ISet<T>.IsProperSubsetOf(IEnumerable<T>)

    IsProperSupersetOf(IEnumerable<IGraphElement>)

    Declaration
    public bool IsProperSupersetOf(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Returns
    Type Description
    Boolean
    Implements
    ISet<T>.IsProperSupersetOf(IEnumerable<T>)

    IsSubsetOf(IEnumerable<IGraphElement>)

    Declaration
    public bool IsSubsetOf(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Returns
    Type Description
    Boolean
    Implements
    ISet<T>.IsSubsetOf(IEnumerable<T>)

    IsSupersetOf(IEnumerable<IGraphElement>)

    Declaration
    public bool IsSupersetOf(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Returns
    Type Description
    Boolean
    Implements
    ISet<T>.IsSupersetOf(IEnumerable<T>)

    Overlaps(IEnumerable<IGraphElement>)

    Declaration
    public bool Overlaps(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Returns
    Type Description
    Boolean
    Implements
    ISet<T>.Overlaps(IEnumerable<T>)

    Remove(IGraphElement)

    Declaration
    public bool Remove(IGraphElement item)
    Parameters
    Type Name Description
    IGraphElement item
    Returns
    Type Description
    Boolean

    RemoveWhere(Predicate<IGraphElement>)

    Declaration
    public int RemoveWhere(Predicate<IGraphElement> match)
    Parameters
    Type Name Description
    Predicate<IGraphElement> match
    Returns
    Type Description
    Int32

    Select(IEnumerable<IGraphElement>)

    Declaration
    public void Select(IEnumerable<IGraphElement> items)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> items

    Select(IGraphElement)

    Declaration
    public void Select(IGraphElement item)
    Parameters
    Type Name Description
    IGraphElement item

    SetEquals(IEnumerable<IGraphElement>)

    Declaration
    public bool SetEquals(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Returns
    Type Description
    Boolean
    Implements
    ISet<T>.SetEquals(IEnumerable<T>)

    SymmetricExceptWith(IEnumerable<IGraphElement>)

    Declaration
    public void SymmetricExceptWith(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Implements
    ISet<T>.SymmetricExceptWith(IEnumerable<T>)

    UnionWith(IEnumerable<IGraphElement>)

    Declaration
    public void UnionWith(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Implements
    ISet<T>.UnionWith(IEnumerable<T>)

    Events

    changed

    Declaration
    public event Action changed
    Event Type
    Type Description
    Action

    Extension Methods

    XAnalyserProvider.Analyser(Object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(Object, IGraphContext)
    XAnalyserProvider.Analysis(Object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(Object, IGraphContext)
    XAnalyserProvider.Analyser(Object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(Object, GraphReference)
    XAnalyserProvider.Analysis(Object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(Object, GraphReference)
    XDescriptorProvider.Describe(Object)
    XDescriptorProvider.HasDescriptor(Object)
    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptorProvider.Description(Object)
    XDescriptorProvider.Description<TDescription>(Object)
    EditorLinqUtility.Cancellable<T>(IEnumerable<T>, CancellationToken)
    EditorLinqUtility.Cancellable<T>(IEnumerable<T>, CancellationToken, Action)
    SearchUtility.OrderableSearchFilter<THaystack, TResult>(IEnumerable<THaystack>, Func<THaystack, TResult>, String, Func<THaystack, String>)
    SearchUtility.OrderableSearchFilter<T>(IEnumerable<T>, String, Func<T, String>)
    SearchUtility.OrderableSearchFilter<THaystack, TResult>(IEnumerable<THaystack>, Func<THaystack, TResult>, String, Func<THaystack, String>, Func<THaystack, String>)
    SearchUtility.OrderableSearchFilter<T>(IEnumerable<T>, String, Func<T, String>, Func<T, String>)
    SearchUtility.UnorderedSearchFilter<T>(IEnumerable<T>, String, Func<T, String>)
    SearchUtility.OrderedSearchFilter<T>(IEnumerable<T>, String, Func<T, String>)
    UnitBase.WithoutInheritedDuplicates<T>(IEnumerable<T>, Func<T, IUnitOption>, CancellationToken)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    XArrayPool.ToArrayPooled<T>(IEnumerable<T>)
    XHashSetPool.ToHashSetPooled<T>(IEnumerable<T>)
    XListPool.ToListPooled<T>(IEnumerable<T>)
    ConversionUtility.IsConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsConvertibleTo<T>(Object, Boolean)
    ConversionUtility.ConvertTo(Object, Type)
    ConversionUtility.ConvertTo<T>(Object)
    TypeUtility.ToShortString(Object, Int32)
    Serialization.CloneViaSerialization<T>(T, Boolean)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, Boolean)
    Serialization.Serialize(Object, Boolean)
    LinqUtility.DistinctBy<T, TKey>(IEnumerable<T>, Func<T, TKey>)
    LinqUtility.NotNull<T>(IEnumerable<T>)
    LinqUtility.Yield<T>(T)
    LinqUtility.ToHashSet<T>(IEnumerable<T>)
    LinqUtility.AddRange<T>(ICollection<T>, IEnumerable<T>)
    LinqUtility.AsReadOnlyCollection<T>(IEnumerable<T>)
    LinqUtility.AsReadOnlyList<T>(IEnumerable<T>)
    LinqUtility.Flatten<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
    LinqUtility.OrderByDependencies<T>(IEnumerable<T>, Func<T, IEnumerable<T>>, Boolean)
    LinqUtility.OrderByDependers<T>(IEnumerable<T>, Func<T, IEnumerable<T>>, Boolean)
    LinqUtility.Catch<T>(IEnumerable<T>, Action<Exception>)
    LinqUtility.Catch<T>(IEnumerable<T>, ICollection<Exception>)
    LinqUtility.CatchAsLogError<T>(IEnumerable<T>, String)
    LinqUtility.CatchAsLogWarning<T>(IEnumerable<T>, String)
    StringUtility.ToSeparatedString(IEnumerable, String)
    StringUtility.ToCommaSeparatedString(IEnumerable)
    StringUtility.ToLineSeparatedString(IEnumerable)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    Back to top
    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