Unity Heap Crawler
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
UnityHeapCrawler.CrawlSettings Class Reference

Output settings for crawling result - memory tree. More...

Public Member Functions

 CrawlSettings ([NotNull] string filename, [NotNull] string caption, [NotNull] Action rootsCollector, CrawlOrder order)
 
override string ToString ()
 

Static Public Member Functions

static CrawlSettings CreateUserRoots ([NotNull] Action objectsProvider)
 
static CrawlSettings CreateStaticFields ([NotNull] Action objectsProvider)
 
static CrawlSettings CreateHierarchy ([NotNull] Action objectsProvider)
 
static CrawlSettings CreateScriptableObjects ([NotNull] Action objectsProvider)
 
static CrawlSettings CreatePrefabs ([NotNull] Action objectsProvider)
 
static CrawlSettings CreateUnityObjects ([NotNull] Action objectsProvider)
 

Public Attributes

bool Enabled = true
 
string Filename
 Resulting memory tree file name. More...
 
bool PrintChildren = true
 Print children in memory tree. Disable to include only root objects. More...
 
bool PrintOnlyGameObjects = false
 Print only GameObjects in hierarchy mode. More...
 
bool IncludeAllUnityTypes = false
 Follow references to all unity objects or leave them for a later crawling stage More...
 
List< Type > IncludedUnityTypes = new List<Type>()
 Follow references to unity objects of specific types More...
 
int MaxDepth = 0
 Maximum children depth in memory tree. 0 - infinity. More...
 
int MaxChildren = 10
 Maximum children printed for one object in memory tree. Children are sorted by total size More...
 
int MinItemSize = 1024
 Minimum object size to be included in memory tree. More...
 

Properties

static IComparer< CrawlSettingsPriorityComparer = new PriorityRelationalComparer() [get]
 

Detailed Description

Output settings for crawling result - memory tree.

Member Data Documentation

◆ Filename

string UnityHeapCrawler.CrawlSettings.Filename

Resulting memory tree file name.

◆ IncludeAllUnityTypes

bool UnityHeapCrawler.CrawlSettings.IncludeAllUnityTypes = false

Follow references to all unity objects or leave them for a later crawling stage

◆ IncludedUnityTypes

List<Type> UnityHeapCrawler.CrawlSettings.IncludedUnityTypes = new List<Type>()

Follow references to unity objects of specific types

◆ MaxChildren

int UnityHeapCrawler.CrawlSettings.MaxChildren = 10

Maximum children printed for one object in memory tree. Children are sorted by total size

◆ MaxDepth

int UnityHeapCrawler.CrawlSettings.MaxDepth = 0

Maximum children depth in memory tree. 0 - infinity.

◆ MinItemSize

int UnityHeapCrawler.CrawlSettings.MinItemSize = 1024

Minimum object size to be included in memory tree.

◆ PrintChildren

bool UnityHeapCrawler.CrawlSettings.PrintChildren = true

Print children in memory tree. Disable to include only root objects.

◆ PrintOnlyGameObjects

bool UnityHeapCrawler.CrawlSettings.PrintOnlyGameObjects = false

Print only GameObjects in hierarchy mode.


The documentation for this class was generated from the following file: