Class MonoExtensions | Entities | 0.10.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class MonoExtensions

    Inheritance
    Object
    MonoExtensions
    Namespace: Unity.Entities.BuildUtils
    Syntax
    public static class MonoExtensions

    Methods

    CalculateMemoryOrdering(TypeDefinition)

    Declaration
    public static ulong CalculateMemoryOrdering(this TypeDefinition typeDef)
    Parameters
    Type Name Description
    TypeDefinition typeDef
    Returns
    Type Description
    UInt64

    CalculateStableTypeHash(TypeDefinition)

    Declaration
    public static ulong CalculateStableTypeHash(this TypeDefinition typeDef)
    Parameters
    Type Name Description
    TypeDefinition typeDef
    Returns
    Type Description
    UInt64

    DynamicArrayElementType(TypeReference)

    Declaration
    public static TypeReference DynamicArrayElementType(this TypeReference typeRef)
    Parameters
    Type Name Description
    TypeReference typeRef
    Returns
    Type Description
    TypeReference

    FixedSpecialType(TypeReference)

    Declaration
    public static TypeDefinition FixedSpecialType(this TypeReference typeRef)
    Parameters
    Type Name Description
    TypeReference typeRef
    Returns
    Type Description
    TypeDefinition

    GetReflectionName(TypeReference)

    Declaration
    public static string GetReflectionName(this TypeReference type)
    Parameters
    Type Name Description
    TypeReference type
    Returns
    Type Description
    String

    GetSystemReflectionType(TypeReference)

    Declaration
    public static Type GetSystemReflectionType(this TypeReference type)
    Parameters
    Type Name Description
    TypeReference type
    Returns
    Type Description
    Type

    GetSystemRunsAfter(TypeDefinition)

    Declaration
    public static TypeDefinition[] GetSystemRunsAfter(this TypeDefinition type)
    Parameters
    Type Name Description
    TypeDefinition type
    Returns
    Type Description
    TypeDefinition[]

    GetSystemRunsBefore(TypeDefinition)

    Declaration
    public static TypeDefinition[] GetSystemRunsBefore(this TypeDefinition type)
    Parameters
    Type Name Description
    TypeDefinition type
    Returns
    Type Description
    TypeDefinition[]

    IsBufferElementComponentType(TypeReference)

    Declaration
    public static bool IsBufferElementComponentType(this TypeReference typeRef)
    Parameters
    Type Name Description
    TypeReference typeRef
    Returns
    Type Description
    Boolean

    IsComplex(TypeReference)

    Declaration
    public static bool IsComplex(this TypeReference typeRef)
    Parameters
    Type Name Description
    TypeReference typeRef
    Returns
    Type Description
    Boolean

    IsComponentType(TypeReference)

    Declaration
    public static bool IsComponentType(this TypeReference typeRef)
    Parameters
    Type Name Description
    TypeReference typeRef
    Returns
    Type Description
    Boolean

    IsCppBasicType(TypeDefinition)

    Declaration
    public static bool IsCppBasicType(this TypeDefinition type)
    Parameters
    Type Name Description
    TypeDefinition type
    Returns
    Type Description
    Boolean

    IsDynamicArray(TypeReference)

    Declaration
    public static bool IsDynamicArray(this TypeReference type)
    Parameters
    Type Name Description
    TypeReference type
    Returns
    Type Description
    Boolean

    IsEntityType(TypeReference)

    Declaration
    public static bool IsEntityType(this TypeReference typeRef)
    Parameters
    Type Name Description
    TypeReference typeRef
    Returns
    Type Description
    Boolean

    IsManagedType(TypeReference)

    Declaration
    public static bool IsManagedType(this TypeReference typeRef)
    Parameters
    Type Name Description
    TypeReference typeRef
    Returns
    Type Description
    Boolean

    IsPodType(TypeReference)

    Declaration
    public static bool IsPodType(this TypeReference typeRef)
    Parameters
    Type Name Description
    TypeReference typeRef
    Returns
    Type Description
    Boolean

    IsSharedComponentType(TypeReference)

    Declaration
    public static bool IsSharedComponentType(this TypeReference typeRef)
    Parameters
    Type Name Description
    TypeReference typeRef
    Returns
    Type Description
    Boolean

    IsStructValueType(TypeDefinition)

    Declaration
    public static bool IsStructValueType(this TypeDefinition type)
    Parameters
    Type Name Description
    TypeDefinition type
    Returns
    Type Description
    Boolean

    IsStructValueType(TypeReference)

    Declaration
    public static bool IsStructValueType(this TypeReference type)
    Parameters
    Type Name Description
    TypeReference type
    Returns
    Type Description
    Boolean

    IsStructWithInterface(TypeDefinition, String)

    Declaration
    public static bool IsStructWithInterface(this TypeDefinition type, string fullName)
    Parameters
    Type Name Description
    TypeDefinition type
    String fullName
    Returns
    Type Description
    Boolean

    IsSystemFenceType(TypeDefinition)

    Declaration
    public static bool IsSystemFenceType(this TypeDefinition type)
    Parameters
    Type Name Description
    TypeDefinition type
    Returns
    Type Description
    Boolean

    IsSystemStateComponentType(TypeReference)

    Declaration
    public static bool IsSystemStateComponentType(this TypeReference typeRef)
    Parameters
    Type Name Description
    TypeReference typeRef
    Returns
    Type Description
    Boolean

    IsSystemType(TypeDefinition)

    Declaration
    public static bool IsSystemType(this TypeDefinition type)
    Parameters
    Type Name Description
    TypeDefinition type
    Returns
    Type Description
    Boolean
    In This Article
    • Methods
      • CalculateMemoryOrdering(TypeDefinition)
      • CalculateStableTypeHash(TypeDefinition)
      • DynamicArrayElementType(TypeReference)
      • FixedSpecialType(TypeReference)
      • GetReflectionName(TypeReference)
      • GetSystemReflectionType(TypeReference)
      • GetSystemRunsAfter(TypeDefinition)
      • GetSystemRunsBefore(TypeDefinition)
      • IsBufferElementComponentType(TypeReference)
      • IsComplex(TypeReference)
      • IsComponentType(TypeReference)
      • IsCppBasicType(TypeDefinition)
      • IsDynamicArray(TypeReference)
      • IsEntityType(TypeReference)
      • IsManagedType(TypeReference)
      • IsPodType(TypeReference)
      • IsSharedComponentType(TypeReference)
      • IsStructValueType(TypeDefinition)
      • IsStructValueType(TypeReference)
      • IsStructWithInterface(TypeDefinition, String)
      • IsSystemFenceType(TypeDefinition)
      • IsSystemStateComponentType(TypeReference)
      • IsSystemType(TypeDefinition)
    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