< Represents the result of a query to find the id of the entity under the cursor (if any). More...
#include <EditorHelpers.h>
Public Member Functions | |
CursorEntityIdQuery (AZ::EntityId entityId, AZ::EntityId rootEntityId) | |
AZ::EntityId | EntityIdUnderCursor () const |
AZ::EntityId | ContainerAncestorEntityId () const |
bool | HasContainerAncestorEntityId () const |
Returns true if the query has a container ancestor entity id, otherwise false. | |
< Represents the result of a query to find the id of the entity under the cursor (if any).
AZ::EntityId AzToolsFramework::CursorEntityIdQuery::ContainerAncestorEntityId | ( | ) | const |
Returns the topmost container entity id in the hierarchy if the entity id under the cursor is inside a container entity, otherwise returns the entity id.
AZ::EntityId AzToolsFramework::CursorEntityIdQuery::EntityIdUnderCursor | ( | ) | const |
Returns the entity id under the cursor (if any).