Method GetMaterial
GetMaterial(int)
Get a Unity Material by its glTF material index
Declaration
Material GetMaterial(int index = 0)
Parameters
Type | Name | Description |
---|---|---|
int | index | glTF material index |
Returns
Type | Description |
---|---|
Material | Corresponding Unity Material |