Constructor
new(?front:MaterialBase, ?back:MaterialBase, ?left:MaterialBase, ?right:MaterialBase, ?top:MaterialBase)
Creates a new MultipleMaterials object.
Class can hold up to 6 materials. Class is designed to work as typed object for materials setters in a multitude of classes such as Cube, LatheExtrude (with thickness) etc...
Parameters:
front:MaterialBase | [optional] The front material. |
|---|---|
back:MaterialBase | [optional] The back material. |
left:MaterialBase | [optional] The left material. |
right:MaterialBase | [optional] The right material. |
top:MaterialBase | [optional] The top material. |
down:MaterialBase | [optional] The down material. |