Class TileLayoutUtils
Inheritance
System.Object
TileLayoutUtils
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 | |
| System.UInt32 | tileSize | |
| RectInt | main | |
| RectInt | other |
Returns
| Type | Description |
|---|---|
| System.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 | |
| System.UInt32 | tileSize | |
| RectInt | main | |
| RectInt | other |
Returns
| Type | Description |
|---|---|
| System.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 | |
| System.UInt32 | tileSize | |
| RectInt | main | |
| RectInt | topRow | |
| RectInt | rightCol | |
| RectInt | topRight |
Returns
| Type | Description |
|---|---|
| System.Boolean |