Packageaway3d.materials.passes
Classpublic class SkyBoxPass
InheritanceSkyBoxPass Inheritance MaterialPassBase

SkyBoxPass provides a material pass exclusively used to render sky boxes from a cube texture.

Public Properties
 PropertyDefined by
 Inheritedanimation : AnimationBase
The animation used to add vertex code to the shader code.
MaterialPassBase
 InheritedbothSides : Boolean
Defines whether or not the material should perform backface culling.
MaterialPassBase
  cubeTexture : CubeTexture3DProxy
The cube texture to use as the skybox.
SkyBoxPass
 Inheritedlights : Vector
MaterialPassBase
 Inheritedmaterial : MaterialBase
The material to which this pass belongs.
MaterialPassBase
 Inheritedmipmap : Boolean
Defines whether any used textures should use mipmapping.
MaterialPassBase
 InheritednumUsedStreams : uint
The amount of used vertex streams in the vertex code.
MaterialPassBase
 InheritednumUsedVertexConstants : uint
The amount of used vertex constants in the vertex code.
MaterialPassBase
 Inheritedrepeat : Boolean
Defines whether textures should be tiled.
MaterialPassBase
 Inheritedsmooth : Boolean
Defines whether smoothing should be applied to any used textures.
MaterialPassBase
Protected Properties
 PropertyDefined by
 Inherited_animatableAttributes : Array
MaterialPassBase
 Inherited_lights : Vector
MaterialPassBase
 Inherited_mipmap : Boolean = false
MaterialPassBase
 Inherited_numLights : uint
MaterialPassBase
 Inherited_numUsedStreams : uint
MaterialPassBase
 Inherited_numUsedVertexConstants : uint
MaterialPassBase
 Inherited_projectedTargetRegister : String
MaterialPassBase
 Inherited_repeat : Boolean = false
MaterialPassBase
 Inherited_smooth : Boolean = true
MaterialPassBase
 Inherited_targetRegisters : Array
MaterialPassBase
Public Methods
 MethodDefined by
  
Creates a new SkyBoxPass object.
SkyBoxPass
 Inherited
dispose(deep:Boolean):void
Cleans up any resources used by the current object.
MaterialPassBase
Protected Methods
 MethodDefined by
 Inherited
initPass(context:Context3D, contextIndex:uint):void
Initializes the shader program object.
MaterialPassBase
 Inherited
updateProgram(context:Context3D, contextIndex:uint, polyOffsetReg:String = null):void
Compiles the shader program.
MaterialPassBase
Property detail
cubeTextureproperty
cubeTexture:CubeTexture3DProxy  [read-write]

The cube texture to use as the skybox.

Implementation
    public function get cubeTexture():CubeTexture3DProxy
    public function set cubeTexture(value:CubeTexture3DProxy):void
Constructor detail
SkyBoxPass()constructor
public function SkyBoxPass() Init Parameters
Method detail
activate()method
arcane override function activate(context:Context3D, contextIndex:uint, camera:Camera3D):void

Parameters
context:Context3D
 
contextIndex:uint
 
camera:Camera3D
deactivate()method 
arcane override function deactivate(context:Context3D):void Parameters
context:Context3D
getFragmentCode()method 
arcane override function getFragmentCode():String

Returns
String
getVertexCode()method 
arcane override function getVertexCode():String

Returns
String
Wiki link
Click to go to the wiki page for 'away3d.materials.passes.SkyBoxPass'

Code examples

Comments