TypeDescription

struct in UnityEditor.MemoryProfiler

Cambiar al Manual

Descripción

Description of a managed type.

Variables

arrayRankIf this is an arrayType, this will return the rank of the array. (1 for a 1-dimensional array, 2 for a 2-dimensional array, etc)
assemblyName of the assembly this type was loaded from.
baseOrElementTypeIndexThe base type for this type, pointed to by an index into PackedMemorySnapshot.typeDescriptions.
fieldsAn array containing descriptions of all fields of this type.
isArrayIs this type an array?
isValueTypeIs this type a value type? (if it's not a value type, it's a reference type)
nameName of this type.
sizeSize in bytes of an instance of this type. If this type is an arraytype, this describes the amount of bytes a single element in the array will take up.
staticFieldBytesThe actual contents of the bytes that store this types static fields, at the point of time when the snapshot was taken.
typeIndexThe typeIndex of this type. This index is an index into the PackedMemorySnapshot.typeDescriptions array.
typeInfoAddressThe address in memory that contains the description of this type inside the virtual machine. This can be used to match managed objects in the heap to their corresponding TypeDescription, as the first pointer of a managed object points to its type description.