Method ToFirstIndex
ToFirstIndex(MaterialQuality)
Returns the index (in the MaterialQuality enum) of the first available level.
Declaration
public static int ToFirstIndex(this MaterialQuality level)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialQuality | level | MaterialQuality bitfield. |
Returns
| Type | Description |
|---|---|
| int | The index of the first available level. |