HierarchyViewCell
Represents a cell container for a value displayed in a HierarchyViewColumn. By default, all cells that display a default value don't display their UI or editor unless their corresponding row is selected or the mouse hovers over the row.
Read time 8 minutesLast updated 10 days ago
Definition
- Type: Class
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyModule
- Inherits from: VisualElement
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle
public sealed class HierarchyViewCell : VisualElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle
Properties
Property | Description |
|---|---|
| BoundObject | Gets or sets user data bound to this cell. Typically a serialized object that acts as the model for the cell. |
| Column | Gets the parent column of this HierarchyViewCell. |
| Descriptor | Gets the HierarchyViewCellDescriptor used to create this cell. |
| Handler | Gets the HierarchyNodeTypeHandler of the node displayed in this cell. |
| IsDefaultValue | Whether the cell shows a default value. |
| Node | Gets the HierarchyNode that corresponds to this cell. |
| NodeIndex | Gets the index of theHierarchyNode of this cell in the HierarchyViewModel. |
| View | Gets the HierarchyView that owns this cell. |