docs.unity3d.com
    目次を表示する/隠す

    Class GraphElementEditor<TGraphContext>

    Inheritance
    Object
    Inspector
    GraphInspector<TGraphContext>
    GraphElementEditor<TGraphContext>
    StateEditor
    StateTransitionEditor
    UnitEditor
    Inherited Members
    GraphInspector<TGraphContext>.context
    GraphInspector<TGraphContext>.reference
    GraphInspector<TGraphContext>.graph
    GraphInspector<TGraphContext>.canvas
    GraphInspector<TGraphContext>.selection
    Inspector.OnOpenVFX(Int32, Int32)
    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(Single, GUIContent, Inspector)
    Inspector.wideMode
    Inspector.full
    Inspector.half
    Inspector.wideModeThreshold
    Inspector.GetLayoutPosition(GUIContent, Single, RectOffset)
    Inspector.DrawLayout(GUIContent, Single, RectOffset)
    Inspector.e
    Inspector.ReclaimImplementationSelector(Rect)
    Inspector.expandTooltip
    Inspector.adaptiveWidth
    Inspector.defaultLabelStyle
    Inspector.ProcessLabel(Metadata, GUIContent)
    Inspector.ProcessLabelStyle(Metadata, GUIStyle)
    Inspector.WidthWithoutLabel(Metadata, Single, GUIContent)
    Inspector.HeightWithLabel(Metadata, Single, Single, 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)
    Namespace: Unity.VisualScripting
    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
    Boolean

    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(Single)

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

    GetHeaderHeight(Single)

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

    GetHeight(Single, GUIContent)

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

    GetInspectorHeight(Single)

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

    GetInspectorInnerWidth(Single)

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

    GetWrappedInspectorHeight(Single)

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

    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

    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)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(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.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)