registered

dnois.mt.registered(name: str) bool

Check if a material is registered in material library by name.

Warning

Materials with the same name are seen as identical by this function.

Parameters:

name (str) – Name of the material.

Returns:

If the material is registered.

Return type:

bool