Description:

Call this method to get the render material associated with the mesh at the specified index. Will return None if there is no material associated with the requested mesh.

Syntax:
public RenderMaterial Material(
int index
)
deprecated in 8.0
Parameters:
  • index
  • Type: int
  • The zero based index of the item in the list. Valid values are greater than or equal to 0 and less than Count.
Returns:
If there is a render material associated at the requested index then the material is returned otherwise None is returned.
Available since:
5.7

Nothing found