Package | away3d.materials.passes |
Class | public class SkyBoxPass |
Inheritance | SkyBoxPass MaterialPassBase flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
alphaPremultiplied : Boolean
Indicates whether visible textures (or other pixels) used by this material have
already been premultiplied. | MaterialPassBase | ||
animationRegisterCache : AnimationRegisterCache | MaterialPassBase | ||
animationSet : IAnimationSet
Returns the animation data set adding animations to the material. | MaterialPassBase | ||
bothSides : Boolean
Defines whether or not the material should perform backface culling. | MaterialPassBase | ||
cubeTexture : CubeTextureBase
The cube texture to use as the skybox. | SkyBoxPass | ||
depthCompareMode : String
The depth compare mode used to render the renderables using this material. | MaterialPassBase | ||
material : MaterialBase
The material to which this pass belongs. | MaterialPassBase | ||
mipmap : Boolean
Defines whether any used textures should use mipmapping. | MaterialPassBase | ||
needFragmentAnimation : Boolean [read-only] | MaterialPassBase | ||
needUVAnimation : Boolean [read-only]
Indicates whether the pass requires any UV animatin code. | MaterialPassBase | ||
numUsedFragmentConstants : uint [read-only]
The amount of used fragment constants in the fragment code. | MaterialPassBase | ||
numUsedStreams : uint [read-only]
The amount of used vertex streams in the vertex code. | MaterialPassBase | ||
numUsedVaryings : uint [read-only] | MaterialPassBase | ||
numUsedVertexConstants : uint [read-only]
The amount of used vertex constants in the vertex code. | MaterialPassBase | ||
renderToTexture : Boolean [read-only]
Specifies whether this pass renders to texture
| MaterialPassBase | ||
repeat : Boolean
Defines whether textures should be tiled. | MaterialPassBase | ||
smooth : Boolean
Defines whether smoothing should be applied to any used textures. | MaterialPassBase | ||
writeDepth : Boolean
Indicate whether this pass should write to the depth buffer or not. | MaterialPassBase |
Method | Defined By | ||
---|---|---|---|
Creates a new SkyBoxPass object. | SkyBoxPass | ||
dispose():void
Cleans up any resources used by the current object. | MaterialPassBase | ||
setBlendMode(value:String):void
The blend mode to use when drawing this renderable. | MaterialPassBase |
cubeTexture | property |
cubeTexture:CubeTextureBase
The cube texture to use as the skybox.
public function get cubeTexture():CubeTextureBase
public function set cubeTexture(value:CubeTextureBase):void
SkyBoxPass | () | Constructor |
public function SkyBoxPass()
Creates a new SkyBoxPass object.
activate | () | method |
override arcane function activate(stage3DProxy:Stage3DProxy, camera:Camera3D):void
Parameters
stage3DProxy:Stage3DProxy | |
camera:Camera3D |
getFragmentCode | () | method |
override arcane function getFragmentCode(animationCode:String):String
Returns the fragment AGAL code for the material.
Parameters
animationCode:String |
String |
getVertexCode | () | method |
override arcane function getVertexCode():String
Returns the vertex AGAL code for the material.
ReturnsString |
render | () | method |
override arcane function render(renderable:IRenderable, stage3DProxy:Stage3DProxy, camera:Camera3D, viewProjection:Matrix3D):void
Parameters
renderable:IRenderable | |
stage3DProxy:Stage3DProxy | |
camera:Camera3D | |
viewProjection:Matrix3D |