struct in UnityEditor.MemoryProfiler
/
Implemented in:UnityEditor
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseDescription of a managed type.
arrayRank | If 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) |
assembly | Name of the assembly this type was loaded from. |
baseOrElementTypeIndex | The base type for this type, pointed to by an index into PackedMemorySnapshot.typeDescriptions. |
fields | An array containing descriptions of all fields of this type. |
isArray | Is this type an array? |
isValueType | Is this type a value type? (if it's not a value type, it's a reference type) |
name | Name of this type. |
size | Size 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. |
staticFieldBytes | The actual contents of the bytes that store this types static fields, at the point of time when the snapshot was taken. |
typeIndex | The typeIndex of this type. This index is an index into the PackedMemorySnapshot.typeDescriptions array. |
typeInfoAddress | The 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. |