Class MarkerAttribute | Kinematica | 0.6.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class MarkerAttribute

    Inheritance
    Object
    Attribute
    AnnotationAttribute
    MarkerAttribute
    Inherited Members
    AnnotationAttribute.m_DisplayName
    AnnotationAttribute.m_Color
    AnnotationAttribute.GetColor(Type)
    AnnotationAttribute.GetDisplayName<T>(Type)
    AnnotationAttribute.GetTypesWithDuplicateDescription(IEnumerable<Type>, AnnotationAttribute.GetDisplayNameDelegate)
    AnnotationAttribute.GetFullDisplayName(HashSet<Type>, Type, String)
    Namespace: Unity.Kinematica.Editor
    Syntax
    public class MarkerAttribute : AnnotationAttribute, _Attribute

    Constructors

    MarkerAttribute(String, String)

    Declaration
    public MarkerAttribute(string displayName, string color)
    Parameters
    Type Name Description
    String displayName
    String color

    Fields

    k_TypesWithDuplicates

    Declaration
    protected static HashSet<Type> k_TypesWithDuplicates
    Field Value
    Type Description
    HashSet<Type>

    k_UnknownMarkerType

    Declaration
    public const string k_UnknownMarkerType = "Unknown Marker Type"
    Field Value
    Type Description
    String

    Methods

    GetDescription(Type)

    Declaration
    public static string GetDescription(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    String

    GetMarkerTypes()

    Declaration
    public static IEnumerable<Type> GetMarkerTypes()
    Returns
    Type Description
    IEnumerable<Type>

    HasMarkerAttribute(Type)

    Declaration
    public static bool HasMarkerAttribute(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Boolean

    IsMarkerType(Type)

    Declaration
    public static bool IsMarkerType(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Boolean
    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