Packages

 

com.aspose.cad.fileformats.cad.cadobjects

com.aspose.cad.fileformats.cad.cadobjects

Class CadLight



  • public class CadLight
    extends CadBaseEntity

    Class describing CadLight

    • Constructor Detail

      • CadLight

        public CadLight()

        Initializes a new instance of the CadLight class.

    • Method Detail

      • getVersionNumber

        public int getVersionNumber()

        Gets or sets the version number.

        Returns:
        The version number.
      • setVersionNumber

        public void setVersionNumber(int value)

        Gets or sets the version number.

        Parameters:
        value - The version number.
      • getLightName

        public String getLightName()

        Gets or sets the name of the light.

        Returns:
        The name of the light.
      • setLightName

        public void setLightName(String value)

        Gets or sets the name of the light.

        Parameters:
        value - The name of the light.
      • getLightType

        public short getLightType()

        Gets or sets the type of the light.

        Returns:
        The type of the light.
      • setLightType

        public void setLightType(short value)

        Gets or sets the type of the light.

        Parameters:
        value - The type of the light.
      • getStatus

        public boolean getStatus()

        Gets or sets a value indicating whether this CadLight is status.

        Returns:
        true if status; otherwise, false.
      • setStatus

        public void setStatus(boolean value)

        Gets or sets a value indicating whether this CadLight is status.

        Parameters:
        value - true if status; otherwise, false.
      • getPlotGlyph

        public boolean getPlotGlyph()

        Gets or sets a value indicating whether [plot glyph].

        Returns:
        true if [plot glyph]; otherwise, false.
      • setPlotGlyph

        public void setPlotGlyph(boolean value)

        Gets or sets a value indicating whether [plot glyph].

        Parameters:
        value - true if [plot glyph]; otherwise, false.
      • getIntenSity

        public double getIntenSity()

        Gets or sets the inten sity.

        Returns:
        The inten sity.
      • setIntenSity

        public void setIntenSity(double value)

        Gets or sets the inten sity.

        Parameters:
        value - The inten sity.
      • getLightPosition

        public Cad3DPoint getLightPosition()

        Gets or sets the light position.

        Returns:
        The light position.
      • setLightPosition

        public void setLightPosition(Cad3DPoint value)

        Gets or sets the light position.

        Parameters:
        value - The light position.
      • getTargetLocation

        public Cad3DPoint getTargetLocation()

        Gets or sets the target location.

        Returns:
        The target location.
      • setTargetLocation

        public void setTargetLocation(Cad3DPoint value)

        Gets or sets the target location.

        Parameters:
        value - The target location.
      • getAttenuationType

        public short getAttenuationType()

        Gets or sets the type of the attenuation.

        Returns:
        The type of the attenuation.
      • setAttenuationType

        public void setAttenuationType(short value)

        Gets or sets the type of the attenuation.

        Parameters:
        value - The type of the attenuation.
      • getAttenuationLimits

        public boolean getAttenuationLimits()

        Gets or sets a value indicating whether [attenuation limits].

        Returns:
        true if [attenuation limits]; otherwise, false.
      • setAttenuationLimits

        public void setAttenuationLimits(boolean value)

        Gets or sets a value indicating whether [attenuation limits].

        Parameters:
        value - true if [attenuation limits]; otherwise, false.
      • getAttenuationStartLimit

        public double getAttenuationStartLimit()

        Gets or sets the attenuation start limit.

        Returns:
        The attenuation start limit.
      • setAttenuationStartLimit

        public void setAttenuationStartLimit(double value)

        Gets or sets the attenuation start limit.

        Parameters:
        value - The attenuation start limit.
      • getAttenuationEndLimit

        public double getAttenuationEndLimit()

        Gets or sets the attenuation end limit.

        Returns:
        The attenuation end limit.
      • setAttenuationEndLimit

        public void setAttenuationEndLimit(double value)

        Gets or sets the attenuation end limit.

        Parameters:
        value - The attenuation end limit.
      • getHotspotAngle

        public double getHotspotAngle()

        Gets or sets the hotspot angle.

        Returns:
        The hotspot angle.
      • setHotspotAngle

        public void setHotspotAngle(double value)

        Gets or sets the hotspot angle.

        Parameters:
        value - The hotspot angle.
      • getFalloffAngle

        public double getFalloffAngle()

        Gets or sets the falloff angle.

        Returns:
        The falloff angle.
      • setFalloffAngle

        public void setFalloffAngle(double value)

        Gets or sets the falloff angle.

        Parameters:
        value - The falloff angle.
      • getCastShadows

        public boolean getCastShadows()

        Gets or sets a value indicating whether [cast shadows].

        Returns:
        true if [cast shadows]; otherwise, false.
      • setCastShadows

        public void setCastShadows(boolean value)

        Gets or sets a value indicating whether [cast shadows].

        Parameters:
        value - true if [cast shadows]; otherwise, false.
      • getShadowType

        public short getShadowType()

        Gets or sets the type of the shadow.

        Returns:
        The type of the shadow.
      • setShadowType

        public void setShadowType(short value)

        Gets or sets the type of the shadow.

        Parameters:
        value - The type of the shadow.
      • getShadowMapSize

        public int getShadowMapSize()

        Gets or sets the size of the shadow map.

        Returns:
        The size of the shadow map.
      • setShadowMapSize

        public void setShadowMapSize(int value)

        Gets or sets the size of the shadow map.

        Parameters:
        value - The size of the shadow map.
      • getShadowMapSoftness

        public short getShadowMapSoftness()

        Gets or sets the shadow map softness.

        Returns:
        The shadow map softness.
      • setShadowMapSoftness

        public void setShadowMapSoftness(short value)

        Gets or sets the shadow map softness.

        Parameters:
        value - The shadow map softness.