Fork me on GitHub

API Documentation


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

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
getSrc(src)
gets the source used for the video
 
Gets the canvas used by the texture
 
setSrc(src)
Sets the source used for the video
 
setVideo(canvas)
Sets the video used by the texture
Methods borrowed from class GLGE.QuickNotation:
_
Methods borrowed from class GLGE.JSONLoader:
getDownloadPriority, setDownloadPriority, setJSONSrc, setJSONString
Class Detail
GLGE.TextureVideo(uid)
Parameters:
{string} uid
the unique id for this texture
See:
GLGE.Material
Method Detail
{string} getSrc(src)
gets the source used for the video
Parameters:
src
Returns:
{string} The URL of the video

{video} getVideo()
Gets the canvas used by the texture
Returns:
{video} The textures image url

setSrc(src)
Sets the source used for the video
Parameters:
{string} src
The URL of the video

setVideo(canvas)
Sets the video used by the texture
Parameters:
{video} canvas
The canvas to use

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