Packageaway3d.materials
Classpublic class SkyBoxMaterial
InheritanceSkyBoxMaterial Inheritance MaterialBase

SkyBoxMaterial is a material exclusively used to render skyboxes

See also

away3d.primitives.SkyBox
Public Properties
 PropertyDefined by
 InheritedblendMode : String
The blend mode to use when drawing this renderable.
MaterialBase
 InheritedbothSides : Boolean
Defines whether or not the material should perform backface culling.
MaterialBase
  cubeMap : CubeMap
The CubeMap to use as the skybox.
SkyBoxMaterial
 Inheritedextra : Object
An object to contain any extra data
MaterialBase
 Inheritedlights : Array
MaterialBase
 InheritedmaterialNamespace : String
The namespace of the material, used by the MaterialLibrary.
MaterialBase
 Inheritedmipmap : Boolean
Indicates whether or not any used textures should use mipmapping.
MaterialBase
 Inheritedname : String
The name of the material.
MaterialBase
 Inheritedrepeat : Boolean
Indicates whether or not any used textures should be tiled.
MaterialBase
 InheritedrequiresBlending : Boolean
Indicates whether or not the material requires alpha blending during rendering.
MaterialBase
 Inheritedsmooth : Boolean
Indicates whether or not any used textures should use smoothing.
MaterialBase
 InheriteduniqueId : uint
The unique id assigned to the material by the MaterialLibrary.
MaterialBase
Protected Properties
 PropertyDefined by
 Inherited_mipmap : Boolean
MaterialBase
 Inherited_numPasses : uint
MaterialBase
Public Methods
 MethodDefined by
  
Creates a new SkyBoxMaterial object.
SkyBoxMaterial
  
dispose(deep:Boolean):void
Cleans up any resources used by the current object.
SkyBoxMaterial
 Inherited
setNameAndSpace(name:String, materialNameSpace:String):void
Sets the materials name and namespace.
MaterialBase
Protected Methods
 MethodDefined by
 Inherited
Adds a pass to the material
MaterialBase
 Inherited
clearPasses():void
Clears all passes in the material.
MaterialBase
Property detail
cubeMapproperty
cubeMap:CubeMap  [read-write]

The CubeMap to use as the skybox.

Implementation
    public function get cubeMap():CubeMap
    public function set cubeMap(value:CubeMap):void
Constructor detail
SkyBoxMaterial()constructor
public function SkyBoxMaterial(cubeMap:CubeMap)Parameters
cubeMap:CubeMap — The CubeMap to use as the skybox.
Init Parameters
Method detail
dispose()method
public override function dispose(deep:Boolean):void

Cleans up any resources used by the current object.

Parameters
deep:Boolean — Indicates whether other resources should be cleaned up, that could potentially be shared across different instances.
Wiki link
Click to go to the wiki page for 'away3d.materials.SkyBoxMaterial'

Code examples

Comments