Class TileLayoutUtils | High Definition RP | 6.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class TileLayoutUtils

    Inheritance
    Object
    TileLayoutUtils
    Namespace: UnityEngine.Experimental.Rendering
    Syntax
    public static class TileLayoutUtils

    Methods

    TryLayoutByCol(RectInt, UInt32, out RectInt, out RectInt)

    Declaration
    public static bool TryLayoutByCol(RectInt src, uint tileSize, out RectInt main, out RectInt other)
    Parameters
    Type Name Description
    RectInt src
    UInt32 tileSize
    RectInt main
    RectInt other
    Returns
    Type Description
    Boolean

    TryLayoutByRow(RectInt, UInt32, out RectInt, out RectInt)

    Declaration
    public static bool TryLayoutByRow(RectInt src, uint tileSize, out RectInt main, out RectInt other)
    Parameters
    Type Name Description
    RectInt src
    UInt32 tileSize
    RectInt main
    RectInt other
    Returns
    Type Description
    Boolean

    TryLayoutByTiles(RectInt, UInt32, out RectInt, out RectInt, out RectInt, out RectInt)

    Declaration
    public static bool TryLayoutByTiles(RectInt src, uint tileSize, out RectInt main, out RectInt topRow, out RectInt rightCol, out RectInt topRight)
    Parameters
    Type Name Description
    RectInt src
    UInt32 tileSize
    RectInt main
    RectInt topRow
    RectInt rightCol
    RectInt topRight
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023