Packageaway3d.materials.utils
Classpublic class MultipleMaterials

Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined by
  
MultipleMaterials
(front:MaterialBase = null, back:MaterialBase = null, left:MaterialBase = null, right:MaterialBase = null, top:MaterialBase = null, down:MaterialBase = null)
Creates a new MultipleMaterials object.
MultipleMaterials
Property detail
backproperty
back:MaterialBase  [read-write]

Defines the material applied to the back side of the cube.

Implementation
    public function get back():MaterialBase
    public function set back(value:MaterialBase):void
bottomproperty 
bottom:MaterialBase  [read-write]

Defines the material applied to the bottom side of the cube.

Implementation
    public function get bottom():MaterialBase
    public function set bottom(value:MaterialBase):void
frontproperty 
front:MaterialBase  [read-write]

Defines the material applied to the front side of the cube.

Implementation
    public function get front():MaterialBase
    public function set front(value:MaterialBase):void
leftproperty 
left:MaterialBase  [read-write]

Defines the material applied to the left side of the cube.

Implementation
    public function get left():MaterialBase
    public function set left(value:MaterialBase):void
rightproperty 
right:MaterialBase  [read-write]

Defines the material applied to the right side of the cube.

Implementation
    public function get right():MaterialBase
    public function set right(value:MaterialBase):void
topproperty 
top:MaterialBase  [read-write]

Defines the material applied to the top side of the cube.

Implementation
    public function get top():MaterialBase
    public function set top(value:MaterialBase):void
Constructor detail
MultipleMaterials()constructor
public function MultipleMaterials(front:MaterialBase = null, back:MaterialBase = null, left:MaterialBase = null, right:MaterialBase = null, top:MaterialBase = null, down:MaterialBase = null)Parameters
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.
 
down:MaterialBase (default = null) — [optional] The down material.
Init Parameters
Wiki link
Click to go to the wiki page for 'away3d.materials.utils.MultipleMaterials'

Code examples

Comments