LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

IMeshModifier

interface in UnityEngine.UI

Description

Interface which allows for the modification of verticies in a Graphic before they are passed to the CanvasRenderer.

When a Graphic generates a list of vertices they are passed (in order) to any components on the GameObject that implement IMeshModifier. This component can modify the given Mesh.

See Also: BaseMeshEffect.

Public Methods

ModifyMeshCall used to modify mesh.