Package | away3d.materials.passes |
Class | public class SkyBoxPass |
Inheritance | SkyBoxPass MaterialPassBase |
Property | Defined by | ||
---|---|---|---|
animation : AnimationBase
The animation used to add vertex code to the shader code.
| MaterialPassBase | ||
bothSides : Boolean
Defines whether or not the material should perform backface culling.
| MaterialPassBase | ||
cubeTexture : CubeTexture3DProxy
The cube texture to use as the skybox.
| SkyBoxPass | ||
lights : Vector | MaterialPassBase | ||
material : MaterialBase
The material to which this pass belongs.
| MaterialPassBase | ||
mipmap : Boolean
Defines whether any used textures should use mipmapping.
| MaterialPassBase | ||
numUsedStreams : uint
The amount of used vertex streams in the vertex code.
| MaterialPassBase | ||
numUsedVertexConstants : uint
The amount of used vertex constants in the vertex code.
| MaterialPassBase | ||
repeat : Boolean
Defines whether textures should be tiled.
| MaterialPassBase | ||
smooth : Boolean
Defines whether smoothing should be applied to any used textures.
| MaterialPassBase |
Method | Defined by | ||
---|---|---|---|
SkyBoxPass
()
Creates a new SkyBoxPass object.
| SkyBoxPass | ||
dispose(deep:Boolean):void
Cleans up any resources used by the current object.
| MaterialPassBase |
cubeTexture | property |
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
SkyBoxPass | () | constructor |
public function SkyBoxPass()
Init Parameters
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 |