VisualElementExtensions

class in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

VisualElementExtensions is a set of extension methods useful for VisualElement.

Static Methods

AddManipulator Add a manipulator associated to a VisualElement.
ChangeCoordinatesTo Transforms a point from the local space of an element to the local space of another element.
LocalToWorld Transforms a point from the local space of the element to the world space.
RemoveManipulator Remove a manipulator associated to a VisualElement.
StretchToParentSize Aligns a VisualElement's left, top, right and bottom edges with the corresponding edges of its parent.
StretchToParentWidth Aligns a VisualElement's left and right edges with the corresponding edges of its parent.
WorldToLocal Transforms a point from the world space to the local space of the element.

Did you find this page useful? Please give it a rating: