Parameters
- materialIndex
- The index of the material. Must be greater than or equal to zero and less than MaterialCount. Get the index for a patch by calling GetPatchMaterialIndex.
Exception | Description |
---|---|
System.ArgumentException | The material index must be >= 0. |
System.ArgumentException | The material index must be less than the number of materials in the multipatch. |
Target Platforms: Windows 11, Windows 10