Represents a point light source.   
 More...
 | 
|   | PointLightSource (double intensity, Point3D position) | 
|   | Creates a new PointLightSource instance.   More...
  | 
|   | 
| LightIntensity  | GetLightAt (Point3D point) | 
|   | Computes the light intensity at the specified point, without taking into account any obstructions. - Parameters
 - 
  
    | point | The Point3DElement at which the light intensity should be computed. |  
   
   
 
- Returns
  
  More...
  | 
|   | 
| double  | GetObstruction (Point3D point, IEnumerable< Triangle3DElement > shadowingTriangles) | 
|   | Determines the amount of obstruction of the light that results at point  due to the specified shadowingTriangles . - Parameters
 - 
  
    | point | The Point3D at which the obstruction should be computed. |  
    | shadowingTriangles | A collection of Triangle3DElement casting shadows. |  
   
   
 
- Returns
 - 1 if the light is completely obstructed, 0 if the light is completely visible, a value between these if the light is partially obstructed.
  
  More...
  | 
|   | 
| LightIntensity  | GetLightAt (Point3D point) | 
|   | Computes the light intensity at the specified point, without taking into account any obstructions.   More...
  | 
|   | 
| double  | GetObstruction (Point3D point, IEnumerable< Triangle3DElement > shadowingTriangles) | 
|   | Determines the amount of obstruction of the light that results at point  due to the specified shadowingTriangles .   More...
  | 
|   | 
Represents a point light source.  
Definition at line 184 of file Lights.cs.
 
◆ PointLightSource()
      
        
          | VectSharp.ThreeD.PointLightSource.PointLightSource  | 
          ( | 
          double  | 
          intensity,  | 
        
        
           | 
           | 
          Point3D  | 
          position  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Creates a new PointLightSource instance.  
- Parameters
 - 
  
    | intensity | The intensity of the light. | 
    | position | The position of the light source. | 
  
   
Definition at line 209 of file Lights.cs.
 
 
◆ GetLightAt()
      
        
          | LightIntensity VectSharp.ThreeD.PointLightSource.GetLightAt  | 
          ( | 
          Point3D  | 
          point | ) | 
           | 
        
      
 
Computes the light intensity at the specified point, without taking into account any obstructions. 
- Parameters
 - 
  
    | point | The Point3DElement at which the light intensity should be computed. | 
  
   
- Returns
 
 
Implements VectSharp.ThreeD.ILightSource.
Definition at line 216 of file Lights.cs.
 
 
◆ GetObstruction()
      
        
          | double VectSharp.ThreeD.PointLightSource.GetObstruction  | 
          ( | 
          Point3D  | 
          point,  | 
        
        
           | 
           | 
          IEnumerable< Triangle3DElement >  | 
          shadowingTriangles  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Determines the amount of obstruction of the light that results at point  due to the specified shadowingTriangles . 
- Parameters
 - 
  
    | point | The Point3D at which the obstruction should be computed. | 
    | shadowingTriangles | A collection of Triangle3DElement casting shadows. | 
  
   
- Returns
 - 1 if the light is completely obstructed, 0 if the light is completely visible, a value between these if the light is partially obstructed.
 
 
Implements VectSharp.ThreeD.ILightSource.
Definition at line 233 of file Lights.cs.
 
 
◆ CastsShadow
  
  
      
        
          | bool VectSharp.ThreeD.PointLightSource.CastsShadow = true | 
         
       
   | 
  
getset   | 
  
 
 
◆ DistanceAttenuationExponent
  
  
      
        
          | double VectSharp.ThreeD.PointLightSource.DistanceAttenuationExponent = 2 | 
         
       
   | 
  
getset   | 
  
 
An exponent determining how fast the light attenuates with increasing distance. Set to 0 to disable distance attenuation.  
Definition at line 202 of file Lights.cs.
 
 
◆ Intensity
  
  
      
        
          | double VectSharp.ThreeD.PointLightSource.Intensity | 
         
       
   | 
  
getset   | 
  
 
The base intensity of the light.  
Definition at line 197 of file Lights.cs.
 
 
◆ Position
  
  
      
        
          | Point3D VectSharp.ThreeD.PointLightSource.Position | 
         
       
   | 
  
getset   | 
  
 
The position of the light source.  
Definition at line 192 of file Lights.cs.
 
 
The documentation for this class was generated from the following file: