Package | away3d.materials.passes |
Class | public class SkyBoxPass |
Inheritance | SkyBoxPass ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | alphaPremultiplied : Boolean | MaterialPassBase | |
![]() | animationRegisterCache : AnimationRegisterCache | MaterialPassBase | |
![]() | animationSet : IAnimationSet
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 : CubeTextureBase
The cube texture to use as the skybox. | SkyBoxPass | ||
![]() | depthCompareMode : String | 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] | MaterialPassBase | |
![]() | numUsedFragmentConstants : uint [read-only] | 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 |
Method | Defined By | ||
---|---|---|---|
Creates a new SkyBoxPass object. | SkyBoxPass | ||
![]() | dispose():void
Cleans up any resources used by the current object. | MaterialPassBase | |
![]() | setBlendMode(value:String, force:Boolean = false):void | 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, textureRatioX:Number, textureRatioY:Number):void
Parameters
stage3DProxy:Stage3DProxy | |
camera:Camera3D | |
textureRatioX:Number | |
textureRatioY:Number |
getFragmentCode | () | method |
override arcane function getFragmentCode(animationCode:String):String
Parameters
animationCode:String |
String |
getVertexCode | () | method |
override arcane function getVertexCode():String
Returns
String |