Returns the specified Material using an index into the collection.
"materials_var" is a variable referencing a Materials object. |
"materials_var" is a variable referencing a Materials object. |
| Type | Description |
| Material | Returns the specified material or null if an invalid index is specified. |
| Name | Type | Description |
| index | integer | The index of the material to return where the first item in the collection is 0. |