Packageaway3d.materials
Classpublic class SkyBoxMaterial
InheritanceSkyBoxMaterial Inheritance MaterialBase Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher

SkyBoxMaterial is a material exclusively used to render skyboxes

See also

away3d.primitives.SkyBox


Public Properties
 PropertyDefined By
 InheritedalphaPremultiplied : Boolean
Indicates whether visible textures (or other pixels) used by this material have already been premultiplied.
MaterialBase
 InheritedassetFullPath : Array
[read-only]
NamedAssetBase
 InheritedassetNamespace : String
[read-only]
NamedAssetBase
 InheritedassetType : String
[read-only]
MaterialBase
 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 : CubeTextureBase
The CubeMap to use as the skybox.
SkyBoxMaterial
 InheriteddepthCompareMode : String
MaterialBase
 Inheritedextra : Object
An object to contain any extra data
MaterialBase
 InheritedlightPicker : LightPickerBase
MaterialBase
 Inheritedmipmap : Boolean
Indicates whether or not any used textures should use mipmapping.
MaterialBase
 Inheritedname : String
[override]
MaterialBase
 InheritedoriginalName : String
[read-only] The original name used for this asset in the resource (e.g.
NamedAssetBase
 Inheritedrepeat : Boolean
Indicates whether or not any used textures should be tiled.
MaterialBase
 InheritedrequiresBlending : Boolean
[read-only] 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
[read-only] The unique id assigned to the material by the MaterialLibrary.
MaterialBase
Protected Properties
 PropertyDefined By
 Inherited_depthPass : DepthMapPass
MaterialBase
 Inherited_distancePass : DistanceMapPass
MaterialBase
 Inherited_lightPicker : LightPickerBase
MaterialBase
 Inherited_mipmap : Boolean = true
MaterialBase
 Inherited_numPasses : uint
MaterialBase
 Inherited_passes : Vector.<MaterialPassBase>
MaterialBase
 Inherited_repeat : Boolean
MaterialBase
 Inherited_smooth : Boolean = true
MaterialBase
Public Methods
 MethodDefined By
  
Creates a new SkyBoxMaterial object.
SkyBoxMaterial
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
 Inherited
dispose():void
Cleans up any resources used by the current object.
MaterialBase
 Inherited
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
NamedAssetBase
Protected Methods
 MethodDefined By
 Inherited
Adds a pass to the material
MaterialBase
 Inherited
Clears all passes in the material.
MaterialBase
 Inherited
MaterialBase
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Property Detail
cubeMapproperty
cubeMap:CubeTextureBase

The CubeMap to use as the skybox.


Implementation
    public function get cubeMap():CubeTextureBase
    public function set cubeMap(value:CubeTextureBase):void
Constructor Detail
SkyBoxMaterial()Constructor
public function SkyBoxMaterial(cubeMap:CubeTextureBase)

Creates a new SkyBoxMaterial object.

Parameters
cubeMap:CubeTextureBase — The CubeMap to use as the skybox.