{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method GetPreferredValues | TextMeshPro | 3.0.1
docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Method GetPreferredValues

    GetPreferredValues()

    Function to Calculate the Preferred Width and Height of the text object.

    Declaration
    public Vector2 GetPreferredValues()
    Returns
    Type Description
    Vector2

    GetPreferredValues(float, float)

    Function to Calculate the Preferred Width and Height of the text object given the provided width and height.

    Declaration
    public Vector2 GetPreferredValues(float width, float height)
    Parameters
    Type Name Description
    float width
    float height
    Returns
    Type Description
    Vector2

    GetPreferredValues(string)

    Function to Calculate the Preferred Width and Height of the text object given a certain string.

    Declaration
    public Vector2 GetPreferredValues(string text)
    Parameters
    Type Name Description
    string text
    Returns
    Type Description
    Vector2

    GetPreferredValues(string, float, float)

    Function to Calculate the Preferred Width and Height of the text object given a certain string and size of text container.

    Declaration
    public Vector2 GetPreferredValues(string text, float width, float height)
    Parameters
    Type Name Description
    string text
    float width
    float height
    Returns
    Type Description
    Vector2
    概要
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)