Package | away3d.materials.utils |
Class | public class CubeMap |
Property | Defined by | ||
---|---|---|---|
negativeX : BitmapData
The texture on the cube's left face.
| CubeMap | ||
negativeY : BitmapData
The texture on the cube's bottom face.
| CubeMap | ||
negativeZ : BitmapData
The texture on the cube's near face.
| CubeMap | ||
positiveX : BitmapData
The texture on the cube's right face.
| CubeMap | ||
positiveY : BitmapData
The texture on the cube's top face.
| CubeMap | ||
positiveZ : BitmapData
The texture on the cube's far face.
| CubeMap | ||
size : int [read-only]
The size of the cube map texture.
| CubeMap |
Method | Defined by | ||
---|---|---|---|
CubeMap
(posX:BitmapData = null, negX:BitmapData = null, posY:BitmapData = null, negY:BitmapData = null, posZ:BitmapData = null, negZ:BitmapData = null)
Creates a new CubeMap object.
| CubeMap | ||
dispose():void
Disposes of all BitmapData objects used by this CubeMap.
| CubeMap |
negativeX | property |
negativeX:BitmapData
[read-write]The texture on the cube's left face.
Implementation public function get negativeX():BitmapData
public function set negativeX(value:BitmapData):void
negativeY | property |
negativeY:BitmapData
[read-write]The texture on the cube's bottom face.
Implementation public function get negativeY():BitmapData
public function set negativeY(value:BitmapData):void
negativeZ | property |
negativeZ:BitmapData
[read-write]The texture on the cube's near face.
Implementation public function get negativeZ():BitmapData
public function set negativeZ(value:BitmapData):void
positiveX | property |
positiveX:BitmapData
[read-write]The texture on the cube's right face.
Implementation public function get positiveX():BitmapData
public function set positiveX(value:BitmapData):void
positiveY | property |
positiveY:BitmapData
[read-write]The texture on the cube's top face.
Implementation public function get positiveY():BitmapData
public function set positiveY(value:BitmapData):void
positiveZ | property |
positiveZ:BitmapData
[read-write]The texture on the cube's far face.
Implementation public function get positiveZ():BitmapData
public function set positiveZ(value:BitmapData):void
size | property |
size:int
[read-only]The size of the cube map texture.
Implementation public function get size():int
CubeMap | () | constructor |
public function CubeMap(posX:BitmapData = null, negX:BitmapData = null, posY:BitmapData = null, negY:BitmapData = null, posZ:BitmapData = null, negZ:BitmapData = null)
Parameters
posX:BitmapData (default = null ) — The texture on the cube's right face.
|
|
negX:BitmapData (default = null ) — The texture on the cube's left face.
|
|
posY:BitmapData (default = null ) — The texture on the cube's top face.
|
|
negY:BitmapData (default = null ) — The texture on the cube's bottom face.
|
|
posZ:BitmapData (default = null ) — The texture on the cube's far face.
|
|
negZ:BitmapData (default = null ) — The texture on the cube's near face.
|
dispose | () | method |
public function dispose():void
Disposes of all BitmapData objects used by this CubeMap.
upload | () | method |
arcane function upload(cubeTexture:CubeTexture):void
Uploads the BitmapData objects to the CubeTexture.
ParameterscubeTexture:CubeTexture — The CubeTexture to upload to.
|