Class Index | File Index

Classes


Class LightSource


Defined in: SweetHome3D.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
LightSource(x, y, z, color, diameter)
Creates a new light source.
Method Summary
Method Attributes Method Name and Description
 
Returns the RGB color code of this source.
 
Returns the diameter of this source or null if it's not defined.
 
getX()
Returns the abscissa of this source.
 
getY()
Returns the ordinate of this source.
 
getZ()
Returns the elevation of this source.
Class Detail
LightSource(x, y, z, color, diameter)
Creates a new light source.
Author: Emmanuel Puybaret.
Parameters:
{number} x
{number} y
{number} z
{number} color
{number} diameter
Method Detail
{number} getColor()
Returns the RGB color code of this source.
Returns:
{number}

{number} getDiameter()
Returns the diameter of this source or null if it's not defined.
Returns:
{number}

{number} getX()
Returns the abscissa of this source.
Returns:
{number}

{number} getY()
Returns the ordinate of this source.
Returns:
{number}

{number} getZ()
Returns the elevation of this source.
Returns:
{number}

© Copyrights 2017 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Oct 25 2017 16:36:09 GMT+0200 (CEST)