This version of Unity is unsupported.

MeshGenerationContext

class in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

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

Properties

visualElementThe element for which VisualElement.generateVisualContent was invoked.

Public Methods

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