public class CatalogLight extends CatalogPieceOfFurniture implements Light
DEFAULT_CUT_OUT_SHAPE, HIDE_EDGE_COLOR_MATERIAL, IDENTITY_ROTATION, SHOW_BACK_FACE
Constructor and Description |
---|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
LightSource[] lightSources,
java.lang.String[] lightSourceMaterialNames,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
LightSource[] lightSources,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
boolean backFaceShown,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
LightSource[] lightSources,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
boolean backFaceShown,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
LightSource[] lightSources,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
boolean backFaceShown,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
LightSource[] lightSources,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String license,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
LightSource[] lightSources,
java.lang.String[] lightSourceMaterialNames,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Map<java.lang.String,Content> contents)
Creates an unmodifiable catalog light of the default catalog.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getLightSourceMaterialNames()
Returns the material names of the light sources in the 3D model managed by this light.
|
LightSource[] |
getLightSources()
Returns the sources managed by this light.
|
clone, compareTo, equals, getCategory, getColor, getContentProperty, getCreationDate, getCreator, getCurrency, getDepth, getDescription, getDropOnTopElevation, getElevation, getFilterCriteria, getGrade, getHeight, getIcon, getIconPitch, getIconScale, getIconYaw, getId, getInformation, getLicense, getModel, getModelFlags, getModelRotation, getModelSize, getName, getPlanIcon, getPrice, getProperty, getPropertyNames, getStaircaseCutOutShape, getTags, getValueAddedTaxPercentage, getWidth, hashCode, isBackFaceShown, isContentProperty, isDeformable, isDoorOrWindow, isHorizontallyRotatable, isModifiable, isMovable, isProportional, isResizable, isTexturable, isWidthDepthDeformable, matchesFilter
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getColor, getContentProperty, getCreator, getCurrency, getDepth, getDescription, getDropOnTopElevation, getElevation, getHeight, getIcon, getInformation, getLicense, getModel, getModelFlags, getModelRotation, getModelSize, getName, getPlanIcon, getPrice, getProperty, getPropertyNames, getStaircaseCutOutShape, getValueAddedTaxPercentage, getWidth, isBackFaceShown, isContentProperty, isDeformable, isDoorOrWindow, isHorizontallyRotatable, isMovable, isResizable, isTexturable, isWidthDepthDeformable
public CatalogLight(java.lang.String id, java.lang.String name, java.lang.String description, Content icon, Content model, float width, float depth, float height, float elevation, boolean movable, LightSource[] lightSources, float[][] modelRotation, java.lang.String creator, boolean resizable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage)
id
- the id of the new light, or null
name
- the name of the new lightdescription
- the description of the new lighticon
- content of the icon of the new lightmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightmodelRotation
- the rotation 3 by 3 matrix applied to the light modelcreator
- the creator of the modelresizable
- if true
, the size of the new light may be editedprice
- the price of the new light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
public CatalogLight(java.lang.String id, java.lang.String name, java.lang.String description, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, boolean movable, LightSource[] lightSources, float[][] modelRotation, java.lang.String creator, boolean resizable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage)
id
- the id of the new light, or null
name
- the name of the new lightdescription
- the description of the new lighticon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightmodelRotation
- the rotation 3 by 3 matrix applied to the light modelcreator
- the creator of the modelresizable
- if true
, the size of the new light may be editedprice
- the price of the new light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
public CatalogLight(java.lang.String id, java.lang.String name, java.lang.String description, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, boolean movable, LightSource[] lightSources, float[][] modelRotation, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage)
id
- the id of the new light, or null
name
- the name of the new lightdescription
- the description of the new lighticon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightmodelRotation
- the rotation 3 by 3 matrix applied to the light modelcreator
- the creator of the modelresizable
- if true
, the size of the new light may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
public CatalogLight(java.lang.String id, java.lang.String name, java.lang.String description, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, boolean movable, LightSource[] lightSources, java.lang.String staircaseCutOutShape, float[][] modelRotation, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency)
id
- the id of the new light, or null
name
- the name of the new lightdescription
- the description of the new lighticon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightstaircaseCutOutShape
- the shape used to cut out upper levels when they intersect
with the piece like a staircasemodelRotation
- the rotation 3 by 3 matrix applied to the light modelcreator
- the creator of the modelresizable
- if true
, the size of the new light may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
currency
- the price currency, noted with ISO 4217 code, or null
public CatalogLight(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, boolean movable, LightSource[] lightSources, java.lang.String staircaseCutOutShape, float[][] modelRotation, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency)
id
- the id of the new light, or null
name
- the name of the new lightdescription
- the description of the new lightinformation
- additional information associated to the new lighttags
- tags associated to the new lightcreationDate
- creation date of the new light in milliseconds since the epochgrade
- grade of the new light or null
icon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightstaircaseCutOutShape
- the shape used to cut out upper levels when they intersect
with the piece like a staircasemodelRotation
- the rotation 3 by 3 matrix applied to the light modelcreator
- the creator of the modelresizable
- if true
, the size of the new light may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
currency
- the price currency, noted with ISO 4217 code, or null
public CatalogLight(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, float dropOnTopElevation, boolean movable, LightSource[] lightSources, java.lang.String staircaseCutOutShape, float[][] modelRotation, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency)
id
- the id of the new light, or null
name
- the name of the new lightdescription
- the description of the new lightinformation
- additional information associated to the new lighttags
- tags associated to the new lightcreationDate
- creation date of the new light in milliseconds since the epochgrade
- grade of the new light or null
icon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightdropOnTopElevation
- a percentage of the height at which should be placed
an object dropped on the new pieceelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightstaircaseCutOutShape
- the shape used to cut out upper levels when they intersect
with the piece like a staircasemodelRotation
- the rotation 3 by 3 matrix applied to the light modelcreator
- the creator of the modelresizable
- if true
, the size of the new light may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
currency
- the price currency, noted with ISO 4217 code, or null
public CatalogLight(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, float dropOnTopElevation, boolean movable, LightSource[] lightSources, java.lang.String staircaseCutOutShape, float[][] modelRotation, boolean backFaceShown, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency)
id
- the id of the new light, or null
name
- the name of the new lightdescription
- the description of the new lightinformation
- additional information associated to the new lighttags
- tags associated to the new lightcreationDate
- creation date of the new light in milliseconds since the epochgrade
- grade of the new light or null
icon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightdropOnTopElevation
- a percentage of the height at which should be placed
an object dropped on the new pieceelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightstaircaseCutOutShape
- the shape used to cut out upper levels when they intersect
with the piece like a staircasemodelRotation
- the rotation 3 by 3 matrix applied to the light modelbackFaceShown
- true
if back face should be shown instead of front facescreator
- the creator of the modelresizable
- if true
, the size of the new light may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
currency
- the price currency, noted with ISO 4217 code, or null
public CatalogLight(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, float dropOnTopElevation, boolean movable, LightSource[] lightSources, java.lang.String staircaseCutOutShape, float[][] modelRotation, boolean backFaceShown, java.lang.Long modelSize, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, boolean horizontallyRotatable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency)
id
- the id of the new light, or null
name
- the name of the new lightdescription
- the description of the new lightinformation
- additional information associated to the new lighttags
- tags associated to the new lightcreationDate
- creation date of the new light in milliseconds since the epochgrade
- grade of the new light or null
icon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightdropOnTopElevation
- a percentage of the height at which should be placed
an object dropped on the new pieceelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightstaircaseCutOutShape
- the shape used to cut out upper levels when they intersect
with the piece like a staircasemodelRotation
- the rotation 3 by 3 matrix applied to the light modelbackFaceShown
- true
if back face should be shown instead of front facesmodelSize
- size of the 3D model of the new lightcreator
- the creator of the modelresizable
- if true
, the size of the new light may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texturehorizontallyRotatable
- if false
this piece
should not rotate around an horizontal axisprice
- the price of the new light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
currency
- the price currency, noted with ISO 4217 code, or null
public CatalogLight(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, float dropOnTopElevation, boolean movable, LightSource[] lightSources, java.lang.String staircaseCutOutShape, float[][] modelRotation, boolean backFaceShown, java.lang.Long modelSize, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, boolean horizontallyRotatable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency, java.util.Map<java.lang.String,java.lang.String> properties)
id
- the id of the new light, or null
name
- the name of the new lightdescription
- the description of the new lightinformation
- additional information associated to the new lighttags
- tags associated to the new lightcreationDate
- creation date of the new light in milliseconds since the epochgrade
- grade of the new light or null
icon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightdropOnTopElevation
- a percentage of the height at which should be placed
an object dropped on the new pieceelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightstaircaseCutOutShape
- the shape used to cut out upper levels when they intersect
with the piece like a staircasemodelRotation
- the rotation 3 by 3 matrix applied to the light modelbackFaceShown
- true
if back face should be shown instead of front facesmodelSize
- size of the 3D model of the new lightcreator
- the creator of the modelresizable
- if true
, the size of the new light may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texturehorizontallyRotatable
- if false
this piece
should not rotate around an horizontal axisprice
- the price of the new light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
currency
- the price currency, noted with ISO 4217 code, or null
properties
- additional properties associating a key to a value or null
public CatalogLight(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, float dropOnTopElevation, boolean movable, LightSource[] lightSources, java.lang.String[] lightSourceMaterialNames, java.lang.String staircaseCutOutShape, float[][] modelRotation, int modelFlags, java.lang.Long modelSize, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, boolean horizontallyRotatable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency, java.util.Map<java.lang.String,java.lang.String> properties)
id
- the id of the new light, or null
name
- the name of the new lightdescription
- the description of the new lightinformation
- additional information associated to the new lighttags
- tags associated to the new lightcreationDate
- creation date of the new light in milliseconds since the epochgrade
- grade of the new light or null
icon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightdropOnTopElevation
- a percentage of the height at which should be placed
an object dropped on the new pieceelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightlightSourceMaterialNames
- the material names of the light source in the 3D model of the new lightstaircaseCutOutShape
- the shape used to cut out upper levels when they intersect
with the piece like a staircasemodelRotation
- the rotation 3 by 3 matrix applied to the light modelmodelFlags
- flags which should be applied to piece modelmodelSize
- size of the 3D model of the new lightcreator
- the creator of the modelresizable
- if true
, the size of the new light may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texturehorizontallyRotatable
- if false
this piece
should not rotate around an horizontal axisprice
- the price of the new light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
currency
- the price currency, noted with ISO 4217 code, or null
properties
- additional properties associating a key to a value or null
public CatalogLight(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String license, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, float dropOnTopElevation, boolean movable, LightSource[] lightSources, java.lang.String[] lightSourceMaterialNames, java.lang.String staircaseCutOutShape, float[][] modelRotation, int modelFlags, java.lang.Long modelSize, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, boolean horizontallyRotatable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency, java.util.Map<java.lang.String,java.lang.String> properties, java.util.Map<java.lang.String,Content> contents)
id
- the id of the new light, or null
name
- the name of the new lightdescription
- the description of the new lightinformation
- additional information associated to the new lightlicense
- license of the new lighttags
- tags associated to the new lightcreationDate
- creation date of the new light in milliseconds since the epochgrade
- grade of the new light or null
icon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightdropOnTopElevation
- a percentage of the height at which should be placed
an object dropped on the new pieceelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightlightSourceMaterialNames
- the material names of the light source in the 3D model of the new lightstaircaseCutOutShape
- the shape used to cut out upper levels when they intersect
with the piece like a staircasemodelRotation
- the rotation 3 by 3 matrix applied to the light modelmodelFlags
- flags which should be applied to piece modelmodelSize
- size of the 3D model of the new lightcreator
- the creator of the modelresizable
- if true
, the size of the new light may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texturehorizontallyRotatable
- if false
this piece
should not rotate around an horizontal axisprice
- the price of the new light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
currency
- the price currency, noted with ISO 4217 code, or null
properties
- additional properties associating a key to a value or null
contents
- additional contents associating a key to a value or null
public LightSource[] getLightSources()
getLightSources
in interface Light
public java.lang.String[] getLightSourceMaterialNames()
getLightSourceMaterialNames
in interface Light
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License