docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateMeshFromText

    CreateMeshFromText(string, Matrix4, string, int, ColorAlpha?, double)

    Creates an occurrence from string

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public CreateMeshFromTextReturn CreateMeshFromText(string text, Matrix4 matrix, string font = "ChicFont", int fontSize = 64, ColorAlpha? color = null, double heigth3D = 40)
    Parameters
    Type Name Description
    string text

    Text to create

    Matrix4 matrix

    A matrix to apply on mesh

    string font

    The font to use

    int fontSize

    The font size

    ColorAlpha? color

    The occurrence color

    double heigth3D

    3D height of text

    Returns
    Type Description
    CreateMeshFromTextReturn
    In This Article
    Back to top
    Copyright © 2025 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)