Package | away3d.primitives.data |
Class | public class CubeMaterialsData |
Inheritance | CubeMaterialsData flash.events.EventDispatcher |
See also
Property | Defined by | ||
---|---|---|---|
back : Material
Defines the material applied to the back side of the cube.
| CubeMaterialsData | ||
bottom : Material
Defines the material applied to the bottom side of the cube.
| CubeMaterialsData | ||
front : Material
Defines the material applied to the front side of the cube.
| CubeMaterialsData | ||
left : Material
Defines the material applied to the left side of the cube.
| CubeMaterialsData | ||
right : Material
Defines the material applied to the right side of the cube.
| CubeMaterialsData | ||
top : Material
Defines the material applied to the top side of the cube.
| CubeMaterialsData |
Property | Defined by | ||
---|---|---|---|
ini : Init
Instance of the Init object used to hold and parse default property values
specified by the initialiser object in the 3d object constructor.
| CubeMaterialsData |
Method | Defined by | ||
---|---|---|---|
CubeMaterialsData
(init:Object = null)
Creates a new
CubeMaterialsData object. | CubeMaterialsData | ||
addOnMaterialChange(listener:Function):void
Default method for adding a materialChanged event listener
| CubeMaterialsData | ||
removeOnMaterialChange(listener:Function):void
Default method for removing a materialChanged event listener
| CubeMaterialsData |
Event | Summary | Defined by | ||
---|---|---|---|---|
Dispatched when the cube materials object has one of it's materials updated. | CubeMaterialsData |
back | property |
back:Material
[read-write]Defines the material applied to the back side of the cube.
Implementation public function get back():Material
public function set back(value:Material):void
bottom | property |
bottom:Material
[read-write]Defines the material applied to the bottom side of the cube.
Implementation public function get bottom():Material
public function set bottom(value:Material):void
front | property |
front:Material
[read-write]Defines the material applied to the front side of the cube.
Implementation public function get front():Material
public function set front(value:Material):void
ini | property |
protected var ini:Init
Instance of the Init object used to hold and parse default property values specified by the initialiser object in the 3d object constructor.
left | property |
left:Material
[read-write]Defines the material applied to the left side of the cube.
Implementation public function get left():Material
public function set left(value:Material):void
right | property |
right:Material
[read-write]Defines the material applied to the right side of the cube.
Implementation public function get right():Material
public function set right(value:Material):void
top | property |
top:Material
[read-write]Defines the material applied to the top side of the cube.
Implementation public function get top():Material
public function set top(value:Material):void
CubeMaterialsData | () | constructor |
public function CubeMaterialsData(init:Object = null)
Parameters
init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|
left:Material | |
right:Material | |
bottom:Material | |
top:Material | |
front:Material | |
back:Material |
addOnMaterialChange | () | method |
public function addOnMaterialChange(listener:Function):void
Default method for adding a materialChanged event listener
Parameterslistener:Function — The listener function
|
removeOnMaterialChange | () | method |
public function removeOnMaterialChange(listener:Function):void
Default method for removing a materialChanged event listener
Parameterslistener:Function — The listener function
|
materialchanged | event |
away3d.events.MaterialEvent
Dispatched when the cube materials object has one of it's materials updated.