Fork me on GitHub

API Documentation


Extends GLGE.Events, GLGE.JSONLoader, GLGE.QuickNotation.
Creates a new load for a multimaterial
Defined in: glge_lod.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
boundupdated(event)
 
 
gets the material
 
gets the mesh
 
gets the pixelsize limit for this lod
 
Checks if resources have finished downloading
 
 
meshupdated(event)
 
setMaterial(material)
sets the material
 
setMesh(mesh)
sets the mesh
 
setPixelSize(value)
sets the pixelsize limit for this lod
Methods borrowed from class GLGE.QuickNotation:
_
Methods borrowed from class GLGE.JSONLoader:
getDownloadPriority, setDownloadPriority, setJSONSrc, setJSONString
Methods borrowed from class GLGE.Events:
addEventListener, fireEvent, removeEventListener
Event Summary
Event Attributes Event Name and Description
 
Class Detail
GLGE.ObjectLod(uid)
Parameters:
uid
Method Detail
boundupdated(event)
Parameters:
event

downloadComplete()

{GLGE.Material} getMaterial()
gets the material
Returns:
{GLGE.Material}

{GLGE.Mesh} getMesh()
gets the mesh
Returns:
{GLGE.Mesh}

{number} getPixelSize()
gets the pixelsize limit for this lod
Returns:
{number}

{boolean} isComplete()
Checks if resources have finished downloading
Returns:
{boolean}

materialupdated(event)
Parameters:
event

meshupdated(event)
Parameters:
event

setMaterial(material)
sets the material
Parameters:
{GLGE.Material} material

setMesh(mesh)
sets the mesh
Parameters:
{GLGE.Mesh} mesh

{number} setPixelSize(value)
sets the pixelsize limit for this lod
Parameters:
value
Returns:
{number}
Event Detail
downloadComplete(data)
Parameters:
{object} data

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