PackedNativeUnityEngineObject
Description of a C++ unity object in memory.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEditor.MemoryProfiler
- Assembly: UnityEditor.CoreModule
public struct PackedNativeUnityEngineObject
Properties
Property | Description |
|---|---|
| hideFlags | The hideFlags this native object has. |
| isDontDestroyOnLoad | Has this object has been marked as DontDestroyOnLoad? |
| isManager | Is this native object an internal Unity manager object? |
| isPersistent | Is this object persistent? (Assets are persistent, objects stored in Scenes and dynamically created objects are not persistent). |
| name | Name of this object. |
| nativeObjectAddress | The memory address of the native C++ object. This matches the "m_CachedPtr" field of UnityEngine.Object. |
| nativeTypeArrayIndex | The index used to obtain the native C++ type description from the PackedMemorySnapshot.nativeTypes array. |
| size | Size in bytes of this object. |