Package | away3d.materials |
Class | public class SkyBoxMaterial |
Inheritance | SkyBoxMaterial MaterialBase NamedAssetBase flash.events.EventDispatcher |
See also
Property | Defined By | ||
---|---|---|---|
alphaPremultiplied : Boolean
Indicates whether visible textures (or other pixels) used by this material have
already been premultiplied. | MaterialBase | ||
assetFullPath : Array [read-only] | NamedAssetBase | ||
assetNamespace : String [read-only] | NamedAssetBase | ||
assetType : String [read-only] | MaterialBase | ||
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 : CubeTextureBase
The CubeMap to use as the skybox. | SkyBoxMaterial | ||
depthCompareMode : String | MaterialBase | ||
extra : Object
An object to contain any extra data
| MaterialBase | ||
lightPicker : LightPickerBase | MaterialBase | ||
mipmap : Boolean
Indicates whether or not any used textures should use mipmapping. | MaterialBase | ||
name : String [override] | MaterialBase | ||
originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | ||
repeat : Boolean
Indicates whether or not any used textures should be tiled. | MaterialBase | ||
requiresBlending : Boolean [read-only]
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 [read-only]
The unique id assigned to the material by the MaterialLibrary. | MaterialBase |
Method | Defined By | ||
---|---|---|---|
SkyBoxMaterial(cubeMap:CubeTextureBase)
Creates a new SkyBoxMaterial object. | SkyBoxMaterial | ||
assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | ||
dispose():void
Cleans up any resources used by the current object. | MaterialBase | ||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
cubeMap | property |
cubeMap:CubeTextureBase
The CubeMap to use as the skybox.
public function get cubeMap():CubeTextureBase
public function set cubeMap(value:CubeTextureBase):void
SkyBoxMaterial | () | Constructor |
public function SkyBoxMaterial(cubeMap:CubeTextureBase)
Creates a new SkyBoxMaterial object.
ParameterscubeMap:CubeTextureBase — The CubeMap to use as the skybox.
|