Inherits QObject, and QTreeWidgetItem.
|
|
| HierarchyItem (EditorWindow *editWindow, QTreeWidgetItem &parent, int childIndex, const QString label, AZ::Entity *optionalElement) |
| |
|
AZ::Entity * | GetElement () const |
| | This should NEVER return a nullptr.
|
| |
|
AZ::EntityId | GetEntityId () const |
| |
|
void | ClearEntityId () |
| | This is ONLY ever called when the HierarchyWidget is being destroyed.
|
| |
|
void | SetMouseIsHovering (bool isHovering) |
| |
|
void | SetIsExpanded (bool isExpanded) |
| |
|
void | ApplyElementIsExpanded () |
| |
|
void | SetIsSelectable (bool isSelectable) |
| |
|
void | SetIsSelected (bool isSelected) |
| |
|
void | SetIsVisible (bool isVisible) |
| |
|
HierarchyItem * | Parent () const |
| |
|
HierarchyItem * | Child (int i) const |
| |
|
void | SetMark (bool m) |
| | This is a generic marker, for use by any algorithm.
|
| |
|
bool | GetMark () |
| |
|
void | SetNonSnappedOffsets (UiTransform2dInterface::Offsets offsets) |
| | This is ephemeral data used for snapping.
|
| |
|
UiTransform2dInterface::Offsets | GetNonSnappedOffsets () |
| |
|
void | SetNonSnappedZRotation (float rotation) |
| |
|
float | GetNonSnappedZRotation () |
| |
| void | SetPreMove (AZ::EntityId parentId, int childRow) |
| |
|
AZ::EntityId | GetPreMoveParentId () |
| |
|
int | GetPreMoveChildRow () |
| |
|
void | ReplaceElement (const AZStd::string &buffer, const AZStd::unordered_set< AZ::Data::AssetId > &referencedSliceAssets) |
| |
|
void | UpdateSliceInfo () |
| | Update the visual look of the element to show slice information.
|
| |
|
void | UpdateEditorOnlyInfo () |
| | Update the visual look of the element to show whether it's editor only.
|
| |
|
|
static constexpr int | RttiType = ItemType::UserType + 1 |
| |
◆ SetPreMove()
| void HierarchyItem::SetPreMove |
( |
AZ::EntityId |
parentId, |
|
|
int |
childRow |
|
) |
| |
This is our PREVIOUS parent and childRow. This is used to undo reparenting.
The documentation for this class was generated from the following file:
- Gems/LyShine/Code/Editor/HierarchyItem.h