Packagecom.yogurt3d.core.texture
Classpublic class CubeTextureMap
InheritanceCubeTextureMap Inheritance Object
Implements ITexture



Public Methods
 MethodDefined By
  
CubeTextureMap
  
getTexture3D(_context3D:Context3D):TextureBase
This method is called by the renderer to fetch the Texture object.
CubeTextureMap
  
setFace(_faceId:uint, _texture:*):void
CubeTextureMap
  
setFromCompressedByteArray(byte:ByteArray):void
CubeTextureMap
Public Constants
 ConstantDefined By
  NEGATIVE_X : uint = 1
[static]
CubeTextureMap
  NEGATIVE_Y : uint = 3
[static]
CubeTextureMap
  NEGATIVE_Z : uint = 5
[static]
CubeTextureMap
  POSITIVE_X : uint = 0
[static]
CubeTextureMap
  POSITIVE_Y : uint = 2
[static]
CubeTextureMap
  POSITIVE_Z : uint = 4
[static]
CubeTextureMap
Property Detail
m_byteArrayproperty
YOGURT3D_INTERNAL var m_byteArray:ByteArray

m_compressedproperty 
YOGURT3D_INTERNAL var m_compressed:Boolean = false

m_dirtyproperty 
YOGURT3D_INTERNAL var m_dirty:Boolean = true

m_facesproperty 
YOGURT3D_INTERNAL var m_faces:Vector.<Object>

m_heightproperty 
YOGURT3D_INTERNAL var m_height:uint

m_widthproperty 
YOGURT3D_INTERNAL var m_width:uint

Constructor Detail
CubeTextureMap()Constructor
public function CubeTextureMap()



Method Detail
getTexture3D()method
public function getTexture3D(_context3D:Context3D):TextureBase

This method is called by the renderer to fetch the Texture object.

Parameters

_context3D:Context3D

Returns
TextureBase
setFace()method 
public function setFace(_faceId:uint, _texture:*):void

Parameters

_faceId:uint
 
_texture:*

setFromCompressedByteArray()method 
public function setFromCompressedByteArray(byte:ByteArray):void

Parameters

byte:ByteArray

Constant Detail
NEGATIVE_XConstant
public static const NEGATIVE_X:uint = 1

NEGATIVE_YConstant 
public static const NEGATIVE_Y:uint = 3

NEGATIVE_ZConstant 
public static const NEGATIVE_Z:uint = 5

POSITIVE_XConstant 
public static const POSITIVE_X:uint = 0

POSITIVE_YConstant 
public static const POSITIVE_Y:uint = 2

POSITIVE_ZConstant 
public static const POSITIVE_Z:uint = 4