docs.unity3d.com
    Show / Hide Table of Contents

    Class MetadataDictionaryAdaptor

    Inheritance
    Object
    MetadataCollectionAdaptor
    MetadataDictionaryAdaptor
    Inherited Members
    MetadataCollectionAdaptor.parentInspector
    MetadataCollectionAdaptor.BeginGUI()
    MetadataCollectionAdaptor.EndGUI()
    MetadataCollectionAdaptor.DrawItemBackground(Rect, Int32)
    MetadataCollectionAdaptor.GetTitleHeight(Single, GUIContent)
    MetadataCollectionAdaptor.OnTitleGUI(Rect, GUIContent)
    MetadataCollectionAdaptor.GetItemHeight(Int32)
    MetadataCollectionAdaptor.GetAdaptiveWidth()
    MetadataCollectionAdaptor.GetHeight(Single, GUIContent)
    MetadataCollectionAdaptor.Field(Rect, GUIContent)
    Namespace: Unity.VisualScripting
    Syntax
    public class MetadataDictionaryAdaptor : MetadataCollectionAdaptor, IReorderableListAdaptor

    Constructors

    MetadataDictionaryAdaptor(Metadata, Inspector)

    Declaration
    public MetadataDictionaryAdaptor(Metadata metadata, Inspector parentDrawer)
    Parameters
    Type Name Description
    Metadata metadata
    Inspector parentDrawer

    Properties

    Count

    Declaration
    public override int Count { get; }
    Property Value
    Type Description
    Int32
    Overrides
    MetadataCollectionAdaptor.Count

    Item[Object]

    Declaration
    public object this[object key] { get; set; }
    Parameters
    Type Name Description
    Object key
    Property Value
    Type Description
    Object

    metadata

    Declaration
    protected Metadata metadata { get; }
    Property Value
    Type Description
    Metadata

    Methods

    Add()

    Declaration
    public override void Add()
    Overrides
    MetadataCollectionAdaptor.Add()

    CanAdd()

    Declaration
    protected bool CanAdd()
    Returns
    Type Description
    Boolean

    CanDrag(Int32)

    Declaration
    public override bool CanDrag(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Boolean
    Overrides
    MetadataCollectionAdaptor.CanDrag(Int32)

    CanRemove(Int32)

    Declaration
    public override bool CanRemove(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Boolean
    Overrides
    MetadataCollectionAdaptor.CanRemove(Int32)

    Clear()

    Declaration
    public override void Clear()
    Overrides
    MetadataCollectionAdaptor.Clear()

    ConstructDictionary()

    Declaration
    protected virtual IDictionary ConstructDictionary()
    Returns
    Type Description
    IDictionary

    ConstructKey()

    Declaration
    protected virtual object ConstructKey()
    Returns
    Type Description
    Object

    ConstructValue()

    Declaration
    protected virtual object ConstructValue()
    Returns
    Type Description
    Object

    DrawItem(Rect, Int32)

    Declaration
    public override void DrawItem(Rect position, int index)
    Parameters
    Type Name Description
    Rect position
    Int32 index
    Overrides
    MetadataCollectionAdaptor.DrawItem(Rect, Int32)

    Duplicate(Int32)

    Declaration
    public override void Duplicate(int index)
    Parameters
    Type Name Description
    Int32 index
    Overrides
    MetadataCollectionAdaptor.Duplicate(Int32)

    GetItemAdaptiveWidth(Int32)

    Declaration
    public override float GetItemAdaptiveWidth(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Single
    Overrides
    MetadataCollectionAdaptor.GetItemAdaptiveWidth(Int32)

    GetItemHeight(Single, Int32)

    Declaration
    public override float GetItemHeight(float width, int index)
    Parameters
    Type Name Description
    Single width
    Int32 index
    Returns
    Type Description
    Single
    Overrides
    MetadataCollectionAdaptor.GetItemHeight(Single, Int32)

    Insert(Int32)

    Declaration
    public override void Insert(int index)
    Parameters
    Type Name Description
    Int32 index
    Overrides
    MetadataCollectionAdaptor.Insert(Int32)

    Move(Int32, Int32)

    Declaration
    public override void Move(int sourceIndex, int destinationIndex)
    Parameters
    Type Name Description
    Int32 sourceIndex
    Int32 destinationIndex
    Overrides
    MetadataCollectionAdaptor.Move(Int32, Int32)

    Remove(Int32)

    Declaration
    public override void Remove(int index)
    Parameters
    Type Name Description
    Int32 index
    Overrides
    MetadataCollectionAdaptor.Remove(Int32)

    Events

    itemAdded

    Declaration
    public event Action<object, object> itemAdded
    Event Type
    Type Description
    Action<Object, Object>

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