docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GraphSelection

    Inheritance
    object
    GraphSelection
    Implements
    ISet<IGraphElement>
    ICollection<IGraphElement>
    IEnumerable<IGraphElement>
    IEnumerable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.VisualScripting
    Assembly: Unity.VisualScripting.Core.Editor.dll
    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
    int

    IsReadOnly

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

    Methods

    Add(IGraphElement)

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

    Clear()

    Declaration
    public void Clear()

    Contains(IGraphElement)

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

    CopyTo(IGraphElement[], int)

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

    ExceptWith(IEnumerable<IGraphElement>)

    Declaration
    public void ExceptWith(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other

    GetEnumerator()

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

    IntersectWith(IEnumerable<IGraphElement>)

    Declaration
    public void IntersectWith(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other

    IsProperSubsetOf(IEnumerable<IGraphElement>)

    Declaration
    public bool IsProperSubsetOf(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Returns
    Type Description
    bool

    IsProperSupersetOf(IEnumerable<IGraphElement>)

    Declaration
    public bool IsProperSupersetOf(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Returns
    Type Description
    bool

    IsSubsetOf(IEnumerable<IGraphElement>)

    Declaration
    public bool IsSubsetOf(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Returns
    Type Description
    bool

    IsSupersetOf(IEnumerable<IGraphElement>)

    Declaration
    public bool IsSupersetOf(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Returns
    Type Description
    bool

    Overlaps(IEnumerable<IGraphElement>)

    Declaration
    public bool Overlaps(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other
    Returns
    Type Description
    bool

    Remove(IGraphElement)

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

    RemoveWhere(Predicate<IGraphElement>)

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

    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
    bool

    SymmetricExceptWith(IEnumerable<IGraphElement>)

    Declaration
    public void SymmetricExceptWith(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other

    UnionWith(IEnumerable<IGraphElement>)

    Declaration
    public void UnionWith(IEnumerable<IGraphElement> other)
    Parameters
    Type Name Description
    IEnumerable<IGraphElement> other

    Events

    changed

    Declaration
    public event Action changed
    Event Type
    Type Description
    Action

    Implements

    ISet<T>
    ICollection<T>
    IEnumerable<T>
    IEnumerable

    Extension Methods

    EditorLinqUtility.Cancellable<T>(IEnumerable<T>, CancellationToken)
    EditorLinqUtility.Cancellable<T>(IEnumerable<T>, CancellationToken, Action)
    SearchUtility.OrderableSearchFilter<T>(IEnumerable<T>, string, Func<T, string>)
    SearchUtility.OrderableSearchFilter<T>(IEnumerable<T>, string, Func<T, string>, Func<T, string>)
    SearchUtility.OrderableSearchFilter<THaystack, TResult>(IEnumerable<THaystack>, Func<THaystack, TResult>, string, Func<THaystack, string>)
    SearchUtility.OrderableSearchFilter<THaystack, TResult>(IEnumerable<THaystack>, Func<THaystack, TResult>, string, Func<THaystack, string>, Func<THaystack, string>)
    SearchUtility.OrderedSearchFilter<T>(IEnumerable<T>, string, Func<T, string>)
    SearchUtility.UnorderedSearchFilter<T>(IEnumerable<T>, string, Func<T, string>)
    UnitBase.WithoutInheritedDuplicates<T>(IEnumerable<T>, Func<T, IUnitOption>, CancellationToken)
    Cloning.Clone(object, ICloner, bool)
    Cloning.Clone(object, ICloner, bool)
    Cloning.CloneViaFakeSerialization(object)
    Cloning.CloneViaFakeSerialization(object)
    ConversionUtility.ConvertTo(object, Type)
    ConversionUtility.ConvertTo(object, Type)
    ConversionUtility.ConvertTo<T>(object)
    ConversionUtility.ConvertTo<T>(object)
    ConversionUtility.IsConvertibleTo(object, Type, bool)
    ConversionUtility.IsConvertibleTo(object, Type, bool)
    ConversionUtility.IsConvertibleTo<T>(object, bool)
    ConversionUtility.IsConvertibleTo<T>(object, bool)
    Serialization.Serialize(object, bool)
    Serialization.Serialize(object, bool)
    TypeUtility.ToShortString(object, int)
    TypeUtility.ToShortString(object, int)
    UnityObjectUtility.IsUnityNull(object)
    UnityObjectUtility.IsUnityNull(object)
    UnityObjectUtility.ToSafeString(object)
    UnityObjectUtility.ToSafeString(object)
    XAnalyserProvider.Analyser(object, GraphReference)
    XAnalyserProvider.Analyser(object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(object, IGraphContext)
    XAnalyserProvider.Analysis(object, GraphReference)
    XAnalyserProvider.Analysis(object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(object, IGraphContext)
    XDescriptorProvider.Describe(object)
    XDescriptorProvider.Description(object)
    XDescriptorProvider.Description<TDescription>(object)
    XDescriptorProvider.Descriptor(object)
    XDescriptorProvider.Descriptor<TDescriptor>(object)
    XDescriptorProvider.HasDescriptor(object)
    Cloning.CloneViaFakeSerialization<T>(T)
    Cloning.CloneViaFakeSerialization<T>(T)
    Cloning.Clone<T>(T, ICloner, bool)
    Cloning.Clone<T>(T, ICloner, bool)
    LinqUtility.Yield<T>(T)
    LinqUtility.Yield<T>(T)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, bool)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, bool)
    Serialization.CloneViaSerialization<T>(T, bool)
    Serialization.CloneViaSerialization<T>(T, bool)
    In This Article
    Back to top
    Copyright © 2025 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)