API Docs for:

File: /home/lindsay/xeolabs/xeogl-next/xeogl/src/lighting/lightMap.js

 A **LightMap** specifies a cube texture light map.

 ## Usage


 new xeogl.LightMap({
    src: [
 @class LightMap
 @module xeogl
 @submodule lighting
 @param [owner] {Component} Owner component. When destroyed, the owner will destroy this component as well. Creates this component within the default {{#crossLink "Scene"}}{{/crossLink}} when omitted.
 @param [cfg] {*} Configs
 @param [cfg.id] {String} Optional ID for this LightMap, unique among all components in the parent scene, generated automatically when omitted.
 @param [cfg.meta] {String:Object} Optional map of user-defined metadata to attach to this LightMap.
 @param [cfg.src=null] {Array of String} Paths to six image files to load into this LightMap.
 @param [cfg.flipY=false] {Boolean} Flips this LightMap's source data along its vertical axis when true.
 @param [cfg.encoding="linear"] {String} Encoding format.  See the {{#crossLink "LightMap/encoding:property"}}{{/crossLink}} property for more info.
 @extends Component

import {core} from "./../core.js";
import {CubeTexture} from './cubeTexture.js';
import {componentClasses} from "./../componentClasses.js";

const type = "xeogl.LightMap";

class LightMap extends CubeTexture{

     JavaScript class name for this Component.

     For example: "xeogl.AmbientLight", "xeogl.MetallicMaterial" etc.

     @property type
     @type String
    get type() {
        return type;

    init(cfg) {

    destroy() {

componentClasses[type] = LightMap;