| Property | Defined By | ||
|---|---|---|---|
| back : MaterialBase
Defines the material applied to the back side of the cube. | MultipleMaterials | ||
| bottom : MaterialBase
Defines the material applied to the bottom side of the cube. | MultipleMaterials | ||
| front : MaterialBase
Defines the material applied to the front side of the cube. | MultipleMaterials | ||
| left : MaterialBase
Defines the material applied to the left side of the cube. | MultipleMaterials | ||
| right : MaterialBase
Defines the material applied to the right side of the cube. | MultipleMaterials | ||
| top : MaterialBase
Defines the material applied to the top side of the cube. | MultipleMaterials | ||
| Method | Defined By | ||
|---|---|---|---|
MultipleMaterials(front:MaterialBase = null, back:MaterialBase = null, left:MaterialBase = null, right:MaterialBase = null, top:MaterialBase = null)
Creates a new MultipleMaterials object. | MultipleMaterials | ||
| back | property |
back:MaterialBaseDefines the material applied to the back side of the cube.
public function get back():MaterialBase public function set back(value:MaterialBase):void| bottom | property |
bottom:MaterialBaseDefines the material applied to the bottom side of the cube.
public function get bottom():MaterialBase public function set bottom(value:MaterialBase):void| front | property |
front:MaterialBaseDefines the material applied to the front side of the cube.
public function get front():MaterialBase public function set front(value:MaterialBase):void| left | property |
left:MaterialBaseDefines the material applied to the left side of the cube.
public function get left():MaterialBase public function set left(value:MaterialBase):void| right | property |
right:MaterialBaseDefines the material applied to the right side of the cube.
public function get right():MaterialBase public function set right(value:MaterialBase):void| top | property |
top:MaterialBaseDefines the material applied to the top side of the cube.
public function get top():MaterialBase public function set top(value:MaterialBase):void| MultipleMaterials | () | Constructor |
public function MultipleMaterials(front:MaterialBase = null, back:MaterialBase = null, left:MaterialBase = null, right:MaterialBase = null, top:MaterialBase = null)
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...
front:MaterialBase (default = null) — [optional] The front material.
| |
back:MaterialBase (default = null) — [optional] The back material.
| |
left:MaterialBase (default = null) — [optional] The left material.
| |
right:MaterialBase (default = null) — [optional] The right material.
| |
top:MaterialBase (default = null) — [optional] The top material.
|