Show / Hide Table of Contents

Class HierarchyProperty

Inheritance
Object
HierarchyProperty
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor
Assembly: UnityEditor.dll
Syntax
public sealed class HierarchyProperty : IHierarchyProperty

Constructors

| Improve this Doc View Source

HierarchyProperty(String)

Declaration
public HierarchyProperty(string rootPath)
Parameters
Type Name Description
String rootPath
| Improve this Doc View Source

HierarchyProperty(String, Boolean)

Declaration
public HierarchyProperty(string rootPath, bool forceImport)
Parameters
Type Name Description
String rootPath
Boolean forceImport
| Improve this Doc View Source

HierarchyProperty(HierarchyType)

Declaration
public HierarchyProperty(HierarchyType hierarchyType)
Parameters
Type Name Description
HierarchyType hierarchyType
| Improve this Doc View Source

HierarchyProperty(HierarchyType, Boolean)

Declaration
public HierarchyProperty(HierarchyType hierarchyType, bool forceImport)
Parameters
Type Name Description
HierarchyType hierarchyType
Boolean forceImport

HierarchyProperty(HierarchyType, String, Boolean)

Declaration
public HierarchyProperty(HierarchyType hierarchyType, string rootPath, bool forceImport)
Parameters
Type Name Description
HierarchyType hierarchyType
String rootPath
Boolean forceImport

Properties

alphaSorted

Declaration
public bool alphaSorted { get; set; }
Property Value
Type Description
Boolean

ancestors

Declaration
public int[] ancestors { get; }
Property Value
Type Description
Int32[]

colorCode

Declaration
public int colorCode { get; }
Property Value
Type Description
Int32

depth

Declaration
public int depth { get; }
Property Value
Type Description
Int32

dynamicDependencies

Declaration
public GUID[] dynamicDependencies { get; }
Property Value
Type Description
GUID[]

guid

Declaration
public string guid { get; }
Property Value
Type Description
String

hasChildren

Declaration
public bool hasChildren { get; }
Property Value
Type Description
Boolean

hasFullPreviewImage

Declaration
public bool hasFullPreviewImage { get; }
Property Value
Type Description
Boolean

icon

Declaration
public Texture2D icon { get; }
Property Value
Type Description
Texture2D

iconDrawStyle

Declaration
public IconDrawStyle iconDrawStyle { get; }
Property Value
Type Description
IconDrawStyle

instanceID

Declaration
public int instanceID { get; }
Property Value
Type Description
Int32

isFolder

Declaration
public bool isFolder { get; }
Property Value
Type Description
Boolean

isMainRepresentation

Declaration
public bool isMainRepresentation { get; }
Property Value
Type Description
Boolean

isValid

Declaration
public bool isValid { get; }
Property Value
Type Description
Boolean

name

Declaration
public string name { get; }
Property Value
Type Description
String

pptrValue

Declaration
public Object pptrValue { get; }
Property Value
Type Description
Object

row

Declaration
public int row { get; }
Property Value
Type Description
Int32

showSceneHeaders

Declaration
public bool showSceneHeaders { get; set; }
Property Value
Type Description
Boolean

Methods

ClearSceneObjectsFilter()

Declaration
public static void ClearSceneObjectsFilter()

CountRemaining(Int32[])

Declaration
public int CountRemaining(int[] expanded)
Parameters
Type Name Description
Int32[] expanded
Returns
Type Description
Int32

FilterSingleSceneObject(Int32, Boolean)

Declaration
public static void FilterSingleSceneObject(int instanceID, bool otherVisibilityState)
Parameters
Type Name Description
Int32 instanceID
Boolean otherVisibilityState
| Improve this Doc View Source

Finalize()

Declaration
protected void Finalize()

Find(Int32, Int32[])

Declaration
public bool Find(int instanceID, int[] expanded)
Parameters
Type Name Description
Int32 instanceID
Int32[] expanded
Returns
Type Description
Boolean

FindAllAncestors(Int32[])

Declaration
public int[] FindAllAncestors(int[] instanceIDs)
Parameters
Type Name Description
Int32[] instanceIDs
Returns
Type Description
Int32[]
| Improve this Doc View Source

GetScene()

Declaration
public Scene GetScene()
Returns
Type Description
Scene

IsExpanded(Int32[])

Declaration
public bool IsExpanded(int[] expanded)
Parameters
Type Name Description
Int32[] expanded
Returns
Type Description
Boolean

Next(Int32[])

Declaration
public bool Next(int[] expanded)
Parameters
Type Name Description
Int32[] expanded
Returns
Type Description
Boolean

NextWithDepthCheck(Int32[], Int32)

Declaration
public bool NextWithDepthCheck(int[] expanded, int minDepth)
Parameters
Type Name Description
Int32[] expanded
Int32 minDepth
Returns
Type Description
Boolean

Parent()

Declaration
public bool Parent()
Returns
Type Description
Boolean

Previous(Int32[])

Declaration
public bool Previous(int[] expanded)
Parameters
Type Name Description
Int32[] expanded
Returns
Type Description
Boolean

Reset()

Declaration
public void Reset()
| Improve this Doc View Source

SetCustomScenes(Int32[])

Declaration
public void SetCustomScenes(int[] sceneHandles)
Parameters
Type Name Description
Int32[] sceneHandles
| Improve this Doc View Source

SetSearchFilter(String, Int32)

Declaration
public void SetSearchFilter(string searchString, int mode)
Parameters
Type Name Description
String searchString
Int32 mode

Skip(Int32, Int32[])

Declaration
public bool Skip(int count, int[] expanded)
Parameters
Type Name Description
Int32 count
Int32[] expanded
Returns
Type Description
Boolean

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX