TextMeshPro.horizontalMapping

TextureMappingOptions horizontalMapping;

Description

Controls how the face and outline textures are horizontally mapped on a text object.


using UnityEngine;
using System.Collections;
using TMPro;

public class ExampleClass : MonoBehaviour
{
    void Example()
    {
        GetComponent<TextMeshPro>().horizontalMapping = TextureMappingOptions.Character;
    }
}