docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field formatString

    Optional C# numeric format string, using following syntax: "{0[:numericFormatString]}" See https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings and https://docs.microsoft.com/en-us/dotnet/standard/base-types/composite-formatting Example: 123.45678 with formatString "{0:F2} ms" --> "123.45 ms".

    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public string formatString
    Returns
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)