Type UIElement

Namespace

GloryEngine.UI

Summary

UI element

Properties

Active

Whether this object is active

UIScene

The scene this object exists in

SiblingIndex

The index of the hierarchy order relative to the parent object
Or within the scene if no parent

ChildCount

Number of children parented to this object in the hierarchy

Parent

The object this object is parented to in the hierarchy
Null if no parent
Set to null to unparent

Name

Name of the object

Methods

RemoveComponent(GloryEngine.UI.UIComponent)

Remove a component from this entity

GetChild(System.Int32)

Get a child in the hierarchy of this object

FindUIElement(System.String)

Find an element in the children of this object with a name, the search only goes one tree deep

GetComponent``1(System.UInt64)

Gets a component by ID directly, for internal use only.
Must be a UIComponent.