docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AdditionalPropertiesStateList<TTarget>

    Used in editor drawer part to store the state of additional properties for a list of elements.

    Inheritance
    object
    AdditionalPropertiesStateBase<int>
    AdditionalPropertiesState<int, TTarget>
    AdditionalPropertiesStateList<TTarget>
    Inherited Members
    AdditionalPropertiesState<int, TTarget>.m_State
    AdditionalPropertiesState<int, TTarget>.GetAdditionalPropertiesState(int)
    AdditionalPropertiesState<int, TTarget>.SetAdditionalPropertiesStateValue(int, bool)
    AdditionalPropertiesState<int, TTarget>.ShowAll()
    AdditionalPropertiesState<int, TTarget>.HideAll()
    AdditionalPropertiesStateBase<int>.this[int]
    AdditionalPropertiesStateBase<int>.GetAdditionalPropertiesState(int)
    AdditionalPropertiesStateBase<int>.SetAdditionalPropertiesState(int, bool)
    AdditionalPropertiesStateBase<int>.SetAdditionalPropertiesStateValue(int, bool)
    AdditionalPropertiesStateBase<int>.ShowAll()
    AdditionalPropertiesStateBase<int>.HideAll()
    AdditionalPropertiesStateBase<int>.ResetAnimation(int)
    AdditionalPropertiesStateBase<int>.RegisterEditor(Editor)
    AdditionalPropertiesStateBase<int>.UnregisterEditor(Editor)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public class AdditionalPropertiesStateList<TTarget> : AdditionalPropertiesState<int, TTarget>
    Type Parameters
    Name Description
    TTarget

    A type given to automatically compute the key.

    Constructors

    AdditionalPropertiesStateList(string)

    Constructor will create the key to store in the EditorPref the state given generic type passed.

    Declaration
    public AdditionalPropertiesStateList(string prefix = "CoreRP")
    Parameters
    Type Name Description
    string prefix

    [Optional] Prefix scope of the key (Default is CoreRP)

    Methods

    RemoveFlagAtIndex(int)

    Removes a flag at a given index which causes the following flags' index to decrease by one.

    Declaration
    public void RemoveFlagAtIndex(int index)
    Parameters
    Type Name Description
    int index

    The index of the flag to be removed.

    SwapFlags(int, int)

    Swap flag between src index and dst index.

    Declaration
    public void SwapFlags(int srcIndex, int dstIndex)
    Parameters
    Type Name Description
    int srcIndex

    src index to swap.

    int dstIndex

    dst index to swap.

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 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)