MeshGenerationContext

class in UnityEngine.UIElements

Switch to Manual

Description

Offers functionality for generating visual content of a VisualElement during the generateVisualContent callback.

Variables

visualElementThe element for which VisualElement.generateVisualContent was invoked.

Public Functions

AllocateAllocates the specified number of vertices and indices required to express geometry for drawing the content of a VisualElement.