Module Photon.AirEL
AirEl Client Handler.
Info:
- Copyright: Photon Team
- Release: v74 Hot Sulphur Springs
- Author: Photon Team
Functions
| Photon.AirEL.DownloadMaterial(id, unitString, ent[, cback[, failed]]) | Download a given material and apply it to a given entity. | 
| Photon.AirEL.FormatName(id, unitString) | Get an AirEL formatted material name. | 
| Photon.AirEL.LoadMaterial(id, unitString, ent) | Load a material from the cache or download it if it doesn't exist. | 
| Photon.AirEL.LoadCallbackSuccess(id, unitString, ent) | Callback function called when a texture is done downloading. | 
| Photon.AirEL.LoadCallbackFail(error) | Error callback function. | 
| Photon.AirEL.ApplyTexture(mat, ent, id, unitString) | Apply a texture to an ariel system. | 
| Photon.AirEL.LoadMaterialFromFile(id, unitString) | Load a material from a file. | 
| Photon.AirEL.Apply(unitString, ent) | Apply an AirEL skin to an entity. | 
| Photon.AirEL.Scan() | Scan function called to apply materials on AirEL entities. | 
| Photon.AirEL.IllumScan() | Scan function called to set on vs off illumination for AirEL entities. | 
Tables
| Photon.AirEL.TranslationTable | Translation between models and remote materials. | 
| Photon.AirEL.TranslationTableIndex | Translation between models and material indexes. | 
| Photon.AirEL.MaterialIndex | Table for storing materials, keyed by material name. | 
Functions
Methods- Photon.AirEL.DownloadMaterial(id, unitString, ent[, cback[, failed]])
- 
    Download a given material and apply it to a given entity.
    
    
    
    
    
    Parameters:
- Photon.AirEL.FormatName(id, unitString)
- 
    Get an AirEL formatted material name.
    
    
    
    
    
    Parameters:Returns:- 
           string
        Formatted name.
    
 
- Photon.AirEL.LoadMaterial(id, unitString, ent)
- 
    Load a material from the cache or download it if it doesn't exist.
    
    
    
    
    
    Parameters:
- Photon.AirEL.LoadCallbackSuccess(id, unitString, ent)
- 
    Callback function called when a texture is done downloading.
    
    
    
    
    
    Parameters:
- Photon.AirEL.LoadCallbackFail(error)
- 
    Error callback function.
    
    
    
    
    
    Parameters:- error string The error which occured.
 
- Photon.AirEL.ApplyTexture(mat, ent, id, unitString)
- 
    Apply a texture to an ariel system.
    
    
    
    
    
    Parameters:
- Photon.AirEL.LoadMaterialFromFile(id, unitString)
- 
    Load a material from a file.
    
    
    
    
    
    Parameters:Returns:- 
           Material
        The loaded material.
    
 
- Photon.AirEL.Apply(unitString, ent)
- 
    Apply an AirEL skin to an entity.
    
    
    
    
    
    Parameters:- unitString string Unit name to apply.
- ent Entity Entity to apply to.
 
- Photon.AirEL.Scan()
- Scan function called to apply materials on AirEL entities.
- Photon.AirEL.IllumScan()
- Scan function called to set on vs off illumination for AirEL entities.