|
VectSharp 2.6.1
A light library for C# vector graphics
|
Represents a light source. More...

Public Member Functions | |
| 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... | |
Properties | |
| bool | CastsShadow [get] |
| Determines whether the light casts a shadow or not. More... | |
| LightIntensity VectSharp.ThreeD.ILightSource.GetLightAt | ( | Point3D | point | ) |
Computes the light intensity at the specified point, without taking into account any obstructions.
| point | The Point3DElement at which the light intensity should be computed. |
Implemented in VectSharp.ThreeD.AmbientLightSource, VectSharp.ThreeD.ParallelLightSource, VectSharp.ThreeD.PointLightSource, VectSharp.ThreeD.SpotlightLightSource, VectSharp.ThreeD.MaskedLightSource, and VectSharp.ThreeD.AreaLightSource.
| double VectSharp.ThreeD.ILightSource.GetObstruction | ( | Point3D | point, |
| IEnumerable< Triangle3DElement > | shadowingTriangles | ||
| ) |
Determines the amount of obstruction of the light that results at point due to the specified shadowingTriangles .
| point | The Point3D at which the obstruction should be computed. |
| shadowingTriangles | A collection of Triangle3DElement casting shadows. |
Implemented in VectSharp.ThreeD.AmbientLightSource, VectSharp.ThreeD.ParallelLightSource, VectSharp.ThreeD.PointLightSource, VectSharp.ThreeD.SpotlightLightSource, VectSharp.ThreeD.MaskedLightSource, and VectSharp.ThreeD.AreaLightSource.
|
get |
Determines whether the light casts a shadow or not.
Implemented in VectSharp.ThreeD.AmbientLightSource, VectSharp.ThreeD.ParallelLightSource, VectSharp.ThreeD.PointLightSource, VectSharp.ThreeD.SpotlightLightSource, VectSharp.ThreeD.MaskedLightSource, and VectSharp.ThreeD.AreaLightSource.