Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

IVertexModifier

Namespace: UnityEngine.UI

/

Switch to Manual

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 IVertexModifier. This component can modify the vertex list.

See Also: BaseVertexEffect.

Public Functions

ModifyVerticesCall used to modify vertices.