Struct TypeManager.TypeInfo | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct TypeManager.TypeInfo

    Namespace: Unity.Entities
    Syntax
    public struct TypeInfo

    Constructors

    TypeInfo(Type, Int32, Int32, TypeManager.TypeCategory, FastEquality.TypeInfo, TypeManager.EntityOffsetInfo[], TypeManager.EntityOffsetInfo[], UInt64, Int32, Int32, Int32, UInt64, Int32*, Int32, Int32, Boolean)

    Declaration
    public TypeInfo(Type type, int typeIndex, int size, TypeManager.TypeCategory category, FastEquality.TypeInfo typeInfo, TypeManager.EntityOffsetInfo[] entityOffsets, TypeManager.EntityOffsetInfo[] blobAssetRefOffsets, ulong memoryOrdering, int bufferCapacity, int elementSize, int alignmentInBytes, ulong stableTypeHash, int *writeGroups, int writeGroupCount, int maximumChunkCapacity, bool isSerializable)
    Parameters
    Type Name Description
    System.Type type
    System.Int32 typeIndex
    System.Int32 size
    TypeManager.TypeCategory category
    FastEquality.TypeInfo typeInfo
    TypeManager.EntityOffsetInfo[] entityOffsets
    TypeManager.EntityOffsetInfo[] blobAssetRefOffsets
    System.UInt64 memoryOrdering
    System.Int32 bufferCapacity
    System.Int32 elementSize
    System.Int32 alignmentInBytes
    System.UInt64 stableTypeHash
    System.Int32* writeGroups
    System.Int32 writeGroupCount
    System.Int32 maximumChunkCapacity
    System.Boolean isSerializable

    Fields

    AlignmentInBytes

    Declaration
    public readonly int AlignmentInBytes
    Field Value
    Type Description
    System.Int32

    BlobAssetRefOffsetCount

    Declaration
    public readonly int BlobAssetRefOffsetCount
    Field Value
    Type Description
    System.Int32

    BlobAssetRefOffsets

    Declaration
    public readonly TypeManager.EntityOffsetInfo[] BlobAssetRefOffsets
    Field Value
    Type Description
    TypeManager.EntityOffsetInfo[]

    BufferCapacity

    Declaration
    public readonly int BufferCapacity
    Field Value
    Type Description
    System.Int32

    Category

    Declaration
    public readonly TypeManager.TypeCategory Category
    Field Value
    Type Description
    TypeManager.TypeCategory

    ElementSize

    Declaration
    public readonly int ElementSize
    Field Value
    Type Description
    System.Int32

    EntityOffsetCount

    Declaration
    public readonly int EntityOffsetCount
    Field Value
    Type Description
    System.Int32

    EntityOffsets

    Declaration
    public readonly TypeManager.EntityOffsetInfo[] EntityOffsets
    Field Value
    Type Description
    TypeManager.EntityOffsetInfo[]

    FastEqualityTypeInfo

    Declaration
    public readonly FastEquality.TypeInfo FastEqualityTypeInfo
    Field Value
    Type Description
    FastEquality.TypeInfo

    IsSerializable

    Declaration
    public readonly bool IsSerializable
    Field Value
    Type Description
    System.Boolean

    MaximumChunkCapacity

    Declaration
    public readonly int MaximumChunkCapacity
    Field Value
    Type Description
    System.Int32

    MemoryOrdering

    Declaration
    public readonly ulong MemoryOrdering
    Field Value
    Type Description
    System.UInt64

    SizeInChunk

    Declaration
    public readonly int SizeInChunk
    Field Value
    Type Description
    System.Int32

    StableTypeHash

    Declaration
    public readonly ulong StableTypeHash
    Field Value
    Type Description
    System.UInt64

    Type

    Declaration
    public readonly Type Type
    Field Value
    Type Description
    System.Type

    TypeIndex

    Declaration
    public readonly int TypeIndex
    Field Value
    Type Description
    System.Int32

    WriteGroupCount

    Declaration
    public readonly int WriteGroupCount
    Field Value
    Type Description
    System.Int32

    WriteGroups

    Declaration
    public readonly int *WriteGroups
    Field Value
    Type Description
    System.Int32*

    Properties

    AlignmentInChunkInBytes

    Declaration
    public int AlignmentInChunkInBytes { get; }
    Property Value
    Type Description
    System.Int32

    Debug

    Provides debug type information. This information may be stripped in non-debug builds

    Declaration
    public TypeManager.TypeInfoDebug Debug { get; }
    Property Value
    Type Description
    TypeManager.TypeInfoDebug

    HasWriteGroups

    Declaration
    public bool HasWriteGroups { get; }
    Property Value
    Type Description
    System.Boolean

    IsZeroSized

    Declaration
    public bool IsZeroSized { get; }
    Property Value
    Type Description
    System.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