docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IMeshModifier

    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.

    Namespace: UnityEngine.UI
    Assembly: UnityEngine.UI.dll
    Syntax
    public interface IMeshModifier

    Methods

    ModifyMesh(Mesh)

    Declaration
    [Obsolete("use IMeshModifier.ModifyMesh (VertexHelper verts) instead", false)]
    void ModifyMesh(Mesh mesh)
    Parameters
    Type Name Description
    Mesh mesh

    ModifyMesh(VertexHelper)

    Call used to modify mesh. Place any custom mesh processing in this function.

    Declaration
    void ModifyMesh(VertexHelper verts)
    Parameters
    Type Name Description
    VertexHelper verts
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)