Fork me on GitHub

API Documentation


Extends GLGE.JSONLoader, GLGE.QuickNotation.
A texture to be included in a material
Defined in: glge_texturecube.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
setSrc(url, image, mask)
Sets the url for a given image
 
Sets the negative X cube image
 
Sets the negative Y cube image
 
Sets the negative Z cube image
 
Sets the positive X cube image
 
Sets the positive Y cube image
 
Sets the positive Z cube image
Methods borrowed from class GLGE.QuickNotation:
_
Methods borrowed from class GLGE.JSONLoader:
getDownloadPriority, setDownloadPriority, setJSONSrc, setJSONString
Class Detail
GLGE.TextureCube(uid)
Parameters:
{string} uid
the unique id for this texture
See:
GLGE.Material
Method Detail
setSrc(url, image, mask)
Sets the url for a given image
Parameters:
{string} url
the texture image url
{string} image
the image element to load
mask

setSrcNegX(url)
Sets the negative X cube image
Parameters:
{string} url
the texture image url

setSrcNegY(url)
Sets the negative Y cube image
Parameters:
{string} url
the texture image url

setSrcNegZ(url)
Sets the negative Z cube image
Parameters:
{string} url
the texture image url

setSrcPosX(url)
Sets the positive X cube image
Parameters:
{string} url
the texture image url

setSrcPosY(url)
Sets the positive Y cube image
Parameters:
{string} url
the texture image url

setSrcPosZ(url)
Sets the positive Z cube image
Parameters:
{string} url
the texture image url

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Feb 12 2012 14:20:23 GMT+0000 (GMT)