Packagecom.yogurt3d.core.texture
Classpublic class CubeTextureMap
InheritanceCubeTextureMap Inheritance TextureMapBase Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedheight : uint
[read-only]
TextureMapBase
 Inheritedtype : ETextureType
[read-only]
TextureMapBase
 Inheritedwidth : uint
[read-only]
TextureMapBase
Public Methods
 MethodDefined By
  
CubeTextureMap(_mipEnabled:Boolean = true)
CubeTextureMap
 Inherited
dispose():void
TextureMapBase
  
getFace(_faceId:uint):*
CubeTextureMap
  
getTexture3D(_context3D:Context3D):TextureBase
[override]
CubeTextureMap
  
setFace(_faceId:uint, _texture:*):void
CubeTextureMap
  
setFromCompressedByteArray(byte:ByteArray):void
CubeTextureMap
Protected Methods
 MethodDefined By
 Inherited
getTextureForContext(context:Context3D):TextureBase
TextureMapBase
 Inherited
hasTextureForContext(context:Context3D):Boolean
TextureMapBase
 Inherited
mapTextureForContext(texture:TextureBase, context:Context3D):void
TextureMapBase
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_mipEnabledproperty 
YOGURT3D_INTERNAL var m_mipEnabled:Boolean

Constructor Detail
CubeTextureMap()Constructor
public function CubeTextureMap(_mipEnabled:Boolean = true)



Parameters
_mipEnabled:Boolean (default = true)
Method Detail
getFace()method
public function getFace(_faceId:uint):*

Parameters

_faceId:uint

Returns
*
getTexture3D()method 
override public function getTexture3D(_context3D:Context3D):TextureBase

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