Package | away3d.materials |
Class | public class SkyBoxMaterial |
Inheritance | SkyBoxMaterial ![]() |
See also
Property | Defined by | ||
---|---|---|---|
![]() | blendMode : String
The blend mode to use when drawing this renderable.
| MaterialBase | |
![]() | bothSides : Boolean
Defines whether or not the material should perform backface culling.
| MaterialBase | |
cubeMap : CubeMap
The CubeMap to use as the skybox.
| SkyBoxMaterial | ||
![]() | extra : Object
An object to contain any extra data
| MaterialBase | |
![]() | lights : Array | MaterialBase | |
![]() | materialNamespace : String
The namespace of the material, used by the MaterialLibrary.
| MaterialBase | |
![]() | mipmap : Boolean
Indicates whether or not any used textures should use mipmapping.
| MaterialBase | |
![]() | name : String
The name of the material.
| MaterialBase | |
![]() | repeat : Boolean
Indicates whether or not any used textures should be tiled.
| MaterialBase | |
![]() | requiresBlending : Boolean
Indicates whether or not the material requires alpha blending during rendering.
| MaterialBase | |
![]() | smooth : Boolean
Indicates whether or not any used textures should use smoothing.
| MaterialBase | |
![]() | uniqueId : uint
The unique id assigned to the material by the MaterialLibrary.
| MaterialBase |
Method | Defined by | ||
---|---|---|---|
Creates a new SkyBoxMaterial object.
| SkyBoxMaterial | ||
dispose(deep:Boolean):void
Cleans up any resources used by the current object.
| SkyBoxMaterial | ||
![]() |
setNameAndSpace(name:String, materialNameSpace:String):void
Sets the materials name and namespace.
| MaterialBase |
cubeMap | property |
cubeMap:CubeMap
[read-write]The CubeMap to use as the skybox.
Implementation public function get cubeMap():CubeMap
public function set cubeMap(value:CubeMap):void
SkyBoxMaterial | () | constructor |
public function SkyBoxMaterial(cubeMap:CubeMap)
Parameters
cubeMap:CubeMap — The CubeMap to use as the skybox.
|
dispose | () | method |
public override function dispose(deep:Boolean):void
Cleans up any resources used by the current object.
Parametersdeep:Boolean — Indicates whether other resources should be cleaned up, that could potentially be shared across different instances.
|