docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GraphElementEditor<TGraphContext>

    Inheritance
    object
    Inspector
    GraphInspector<TGraphContext>
    GraphElementEditor<TGraphContext>
    StateEditor
    StateTransitionEditor
    UnitEditor
    Implements
    IDisposable
    Inherited Members
    GraphInspector<TGraphContext>.context
    GraphInspector<TGraphContext>.reference
    GraphInspector<TGraphContext>.graph
    GraphInspector<TGraphContext>.canvas
    GraphInspector<TGraphContext>.selection
    Inspector.OnOpenVFX(int, int)
    Inspector.Initialize()
    Inspector.y
    Inspector.metadata
    Inspector.safe
    Inspector.profile
    Inspector.indent
    Inspector.Dispose()
    Inspector.SkipEvent(Event, Rect)
    Inspector.Draw(Rect, GUIContent)
    Inspector.OnEditorPrefGUI(Rect, GUIContent)
    Inspector.isHeightDirty
    Inspector.cacheHeight
    Inspector.SetHeightDirty()
    Inspector.GetCachedHeight(float, GUIContent, Inspector)
    Inspector.wideMode
    Inspector.full
    Inspector.half
    Inspector.wideModeThreshold
    Inspector.GetLayoutPosition(GUIContent, float, RectOffset)
    Inspector.DrawLayout(GUIContent, float, RectOffset)
    Inspector.e
    Inspector.ReclaimImplementationSelector(Rect)
    Inspector.expandTooltip
    Inspector.adaptiveWidth
    Inspector.defaultLabelStyle
    Inspector.ProcessLabel(Metadata, GUIContent)
    Inspector.ProcessLabelStyle(Metadata, GUIStyle)
    Inspector.WidthWithoutLabel(Metadata, float, GUIContent)
    Inspector.HeightWithLabel(Metadata, float, float, GUIContent, GUIStyle)
    Inspector.PrefixLabel(Metadata, Rect, GUIContent, GUIStyle)
    Inspector.BeginBlock(Metadata, Rect)
    Inspector.BeginLabeledBlock(Metadata, Rect, GUIContent, GUIStyle)
    Inspector.EndBlock(Metadata)
    Inspector.GetAdaptiveWidth()
    Inspector.BeginProfiling(string)
    Inspector.EndProfiling(string)
    Inspector.ResetProfiling(string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.VisualScripting
    Assembly: Unity.VisualScripting.Core.Editor.dll
    Syntax
    [Editor(typeof(IGraphElement))]
    public class GraphElementEditor<TGraphContext> : GraphInspector<TGraphContext>, IDisposable where TGraphContext : class, IGraphContext
    Type Parameters
    Name Description
    TGraphContext

    Constructors

    GraphElementEditor(Metadata)

    Declaration
    public GraphElementEditor(Metadata metadata)
    Parameters
    Type Name Description
    Metadata metadata

    Properties

    analysis

    Declaration
    protected IGraphElementAnalysis analysis { get; }
    Property Value
    Type Description
    IGraphElementAnalysis

    description

    Declaration
    protected IGraphElementDescription description { get; }
    Property Value
    Type Description
    IGraphElementDescription

    editableHeader

    Declaration
    protected virtual bool editableHeader { get; }
    Property Value
    Type Description
    bool

    element

    Declaration
    protected IGraphElement element { get; }
    Property Value
    Type Description
    IGraphElement

    exception

    Declaration
    protected Exception exception { get; }
    Property Value
    Type Description
    Exception

    exceptionMessage

    Declaration
    protected string exceptionMessage { get; }
    Property Value
    Type Description
    string

    headerContent

    Declaration
    protected GUIContent headerContent { get; }
    Property Value
    Type Description
    GUIContent

    headerContext

    Declaration
    protected IGraphContext headerContext { get; }
    Property Value
    Type Description
    IGraphContext

    headerReference

    Declaration
    protected virtual GraphReference headerReference { get; }
    Property Value
    Type Description
    GraphReference

    headerSummaryMetadata

    Declaration
    protected virtual Metadata headerSummaryMetadata { get; }
    Property Value
    Type Description
    Metadata

    headerTitleMetadata

    Declaration
    protected virtual Metadata headerTitleMetadata { get; }
    Property Value
    Type Description
    Metadata

    Methods

    GetExceptionHeight(float)

    Declaration
    protected float GetExceptionHeight(float width)
    Parameters
    Type Name Description
    float width
    Returns
    Type Description
    float

    GetHeaderHeight(float)

    Declaration
    protected float GetHeaderHeight(float width)
    Parameters
    Type Name Description
    float width
    Returns
    Type Description
    float

    GetHeight(float, GUIContent)

    Declaration
    protected override float GetHeight(float width, GUIContent label)
    Parameters
    Type Name Description
    float width
    GUIContent label
    Returns
    Type Description
    float
    Overrides
    Inspector.GetHeight(float, GUIContent)

    GetInspectorHeight(float)

    Declaration
    protected virtual float GetInspectorHeight(float width)
    Parameters
    Type Name Description
    float width
    Returns
    Type Description
    float

    GetInspectorInnerWidth(float)

    Declaration
    protected float GetInspectorInnerWidth(float totalWidth)
    Parameters
    Type Name Description
    float totalWidth
    Returns
    Type Description
    float

    GetWrappedInspectorHeight(float)

    Declaration
    protected float GetWrappedInspectorHeight(float totalWidth)
    Parameters
    Type Name Description
    float totalWidth
    Returns
    Type Description
    float

    OnExceptionGUI(Rect)

    Declaration
    protected void OnExceptionGUI(Rect exceptionPosition)
    Parameters
    Type Name Description
    Rect exceptionPosition

    OnGUI(Rect, GUIContent)

    Declaration
    protected override void OnGUI(Rect position, GUIContent label)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    Overrides
    Inspector.OnGUI(Rect, GUIContent)

    OnHeaderGUI(Rect)

    Declaration
    protected void OnHeaderGUI(Rect position)
    Parameters
    Type Name Description
    Rect position

    OnInspectorGUI(Rect)

    Declaration
    protected virtual void OnInspectorGUI(Rect position)
    Parameters
    Type Name Description
    Rect position

    OnWrappedInspectorGUI(Rect)

    Declaration
    protected void OnWrappedInspectorGUI(Rect position)
    Parameters
    Type Name Description
    Rect position

    Implements

    IDisposable

    Extension Methods

    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)