CadLight
Inheritance: java.lang.Object, CadBaseEntity
Class describing CadLight
Constructors
| Constructor | Description |
|---|---|
| CadLight() | Initializes a new instance of the CadLight class. |
Methods
| Method | Description |
|---|---|
| getTypeName() | Gets the name of the type. |
| getAttribute63() | Gets or sets the attribute 63. |
| setAttribute63(Short value) | Gets or sets the attribute 63. |
| getAttribute421() | Gets or sets the attribute 421. |
| setAttribute421(Integer value) | Gets or sets the attribute 421. |
| getVersionNumber() | Gets or sets the version number. |
| setVersionNumber(int value) | Gets or sets the version number. |
| getLightName() | Gets or sets the name of the light. |
| setLightName(String value) | Gets or sets the name of the light. |
| getLightType() | Gets or sets the type of the light. |
| setLightType(short value) | Gets or sets the type of the light. |
| getStatus() | Gets or sets a value indicating whether this CadLight is status. |
| setStatus(boolean value) | Gets or sets a value indicating whether this CadLight is status. |
| getPlotGlyph() | Gets or sets a value indicating whether [plot glyph]. |
| setPlotGlyph(boolean value) | Gets or sets a value indicating whether [plot glyph]. |
| getIntenSity() | Gets or sets the inten sity. |
| setIntenSity(double value) | Gets or sets the inten sity. |
| getLightPosition() | Gets or sets the light position. |
| setLightPosition(Cad3DPoint value) | Gets or sets the light position. |
| getTargetLocation() | Gets or sets the target location. |
| setTargetLocation(Cad3DPoint value) | Gets or sets the target location. |
| getAttenuationType() | Gets or sets the type of the attenuation. |
| setAttenuationType(short value) | Gets or sets the type of the attenuation. |
| getAttenuationLimits() | Gets or sets a value indicating whether [attenuation limits]. |
| setAttenuationLimits(boolean value) | Gets or sets a value indicating whether [attenuation limits]. |
| getAttenuationStartLimit() | Gets or sets the attenuation start limit. |
| setAttenuationStartLimit(double value) | Gets or sets the attenuation start limit. |
| getAttenuationEndLimit() | Gets or sets the attenuation end limit. |
| setAttenuationEndLimit(double value) | Gets or sets the attenuation end limit. |
| getHotspotAngle() | Gets or sets the hotspot angle. |
| setHotspotAngle(double value) | Gets or sets the hotspot angle. |
| getFalloffAngle() | Gets or sets the falloff angle. |
| setFalloffAngle(double value) | Gets or sets the falloff angle. |
| getCastShadows() | Gets or sets a value indicating whether [cast shadows]. |
| setCastShadows(boolean value) | Gets or sets a value indicating whether [cast shadows]. |
| getShadowType() | Gets or sets the type of the shadow. |
| setShadowType(short value) | Gets or sets the type of the shadow. |
| getShadowMapSize() | Gets or sets the size of the shadow map. |
| setShadowMapSize(int value) | Gets or sets the size of the shadow map. |
| getShadowMapSoftness() | Gets or sets the shadow map softness. |
| setShadowMapSoftness(short value) | Gets or sets the shadow map softness. |
CadLight()
public CadLight()
Initializes a new instance of the CadLight class.
getTypeName()
public int getTypeName()
Gets the name of the type.
Returns: int - The name of the type.
getAttribute63()
public final Short getAttribute63()
Gets or sets the attribute 63.
Returns: Short - The attribute 63.
setAttribute63(Short value)
public final void setAttribute63(Short value)
Gets or sets the attribute 63.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Short | The attribute 63. |
getAttribute421()
public final Integer getAttribute421()
Gets or sets the attribute 421.
Returns: Integer - The attribute 421.
setAttribute421(Integer value)
public final void setAttribute421(Integer value)
Gets or sets the attribute 421.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Integer | The attribute 421. |
getVersionNumber()
public final int getVersionNumber()
Gets or sets the version number.
Returns: int - The version number.
setVersionNumber(int value)
public final void setVersionNumber(int value)
Gets or sets the version number.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | The version number. |
getLightName()
public final String getLightName()
Gets or sets the name of the light.
Returns: String - The name of the light.
setLightName(String value)
public final void setLightName(String value)
Gets or sets the name of the light.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | String | The name of the light. |
getLightType()
public final short getLightType()
Gets or sets the type of the light.
Returns: short - The type of the light.
setLightType(short value)
public final void setLightType(short value)
Gets or sets the type of the light.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The type of the light. |
getStatus()
public final boolean getStatus()
Gets or sets a value indicating whether this CadLight is status.
Returns: boolean - true if status; otherwise, false .
setStatus(boolean value)
public final void setStatus(boolean value)
Gets or sets a value indicating whether this CadLight is status.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | true if status; otherwise, false . |
getPlotGlyph()
public final boolean getPlotGlyph()
Gets or sets a value indicating whether [plot glyph].
Returns: boolean - true if [plot glyph]; otherwise, false .
setPlotGlyph(boolean value)
public final void setPlotGlyph(boolean value)
Gets or sets a value indicating whether [plot glyph].
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | true if [plot glyph]; otherwise, false . |
getIntenSity()
public final double getIntenSity()
Gets or sets the inten sity.
Returns: double - The inten sity.
setIntenSity(double value)
public final void setIntenSity(double value)
Gets or sets the inten sity.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The inten sity. |
getLightPosition()
public final Cad3DPoint getLightPosition()
Gets or sets the light position.
Returns: Cad3DPoint - The light position.
setLightPosition(Cad3DPoint value)
public final void setLightPosition(Cad3DPoint value)
Gets or sets the light position.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Cad3DPoint | The light position. |
getTargetLocation()
public final Cad3DPoint getTargetLocation()
Gets or sets the target location.
Returns: Cad3DPoint - The target location.
setTargetLocation(Cad3DPoint value)
public final void setTargetLocation(Cad3DPoint value)
Gets or sets the target location.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Cad3DPoint | The target location. |
getAttenuationType()
public final short getAttenuationType()
Gets or sets the type of the attenuation.
Returns: short - The type of the attenuation.
setAttenuationType(short value)
public final void setAttenuationType(short value)
Gets or sets the type of the attenuation.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The type of the attenuation. |
getAttenuationLimits()
public final boolean getAttenuationLimits()
Gets or sets a value indicating whether [attenuation limits].
Returns: boolean - true if [attenuation limits]; otherwise, false .
setAttenuationLimits(boolean value)
public final void setAttenuationLimits(boolean value)
Gets or sets a value indicating whether [attenuation limits].
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | true if [attenuation limits]; otherwise, false . |
getAttenuationStartLimit()
public final double getAttenuationStartLimit()
Gets or sets the attenuation start limit.
Returns: double - The attenuation start limit.
setAttenuationStartLimit(double value)
public final void setAttenuationStartLimit(double value)
Gets or sets the attenuation start limit.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The attenuation start limit. |
getAttenuationEndLimit()
public final double getAttenuationEndLimit()
Gets or sets the attenuation end limit.
Returns: double - The attenuation end limit.
setAttenuationEndLimit(double value)
public final void setAttenuationEndLimit(double value)
Gets or sets the attenuation end limit.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The attenuation end limit. |
getHotspotAngle()
public final double getHotspotAngle()
Gets or sets the hotspot angle.
Returns: double - The hotspot angle.
setHotspotAngle(double value)
public final void setHotspotAngle(double value)
Gets or sets the hotspot angle.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The hotspot angle. |
getFalloffAngle()
public final double getFalloffAngle()
Gets or sets the falloff angle.
Returns: double - The falloff angle.
setFalloffAngle(double value)
public final void setFalloffAngle(double value)
Gets or sets the falloff angle.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The falloff angle. |
getCastShadows()
public final boolean getCastShadows()
Gets or sets a value indicating whether [cast shadows].
Returns: boolean - true if [cast shadows]; otherwise, false .
setCastShadows(boolean value)
public final void setCastShadows(boolean value)
Gets or sets a value indicating whether [cast shadows].
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | true if [cast shadows]; otherwise, false . |
getShadowType()
public final short getShadowType()
Gets or sets the type of the shadow.
Returns: short - The type of the shadow.
setShadowType(short value)
public final void setShadowType(short value)
Gets or sets the type of the shadow.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The type of the shadow. |
getShadowMapSize()
public final int getShadowMapSize()
Gets or sets the size of the shadow map.
Returns: int - The size of the shadow map.
setShadowMapSize(int value)
public final void setShadowMapSize(int value)
Gets or sets the size of the shadow map.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | The size of the shadow map. |
getShadowMapSoftness()
public final short getShadowMapSoftness()
Gets or sets the shadow map softness.
Returns: short - The shadow map softness.
setShadowMapSoftness(short value)
public final void setShadowMapSoftness(short value)
Gets or sets the shadow map softness.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The shadow map softness. |