Sweet Home 3D 3.4

com.eteks.sweethome3d.model
Interface Light

All Superinterfaces:
PieceOfFurniture
All Known Implementing Classes:
CatalogLight, HomeLight

public interface Light
extends PieceOfFurniture

A piece of furniture that contains one or more light sources.

Since:
1.7
Author:
Emmanuel Puybaret

Method Summary
 LightSource[] getLightSources()
          Returns the sources managed by this light.
 
Methods inherited from interface com.eteks.sweethome3d.model.PieceOfFurniture
getColor, getCurrency, getDepth, getDescription, getElevation, getHeight, getIcon, getModel, getModelRotation, getName, getPlanIcon, getPrice, getStaircaseCutOutShape, getValueAddedTaxPercentage, getWidth, isBackFaceShown, isDeformable, isDoorOrWindow, isMovable, isResizable, isTexturable
 

Method Detail

getLightSources

LightSource[] getLightSources()
Returns the sources managed by this light. Each light source point is a percentage of the width, the depth and the height of this light.

Returns:
a copy of light sources array.

Sweet Home 3D 3.4

? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License