Represents the intensity of a light source at a particular point.
More...
Represents the intensity of a light source at a particular point.
Definition at line 27 of file Lights.cs.
◆ LightIntensity()
VectSharp.ThreeD.LightIntensity.LightIntensity |
( |
double |
intensity, |
|
|
NormalizedVector3D |
direction |
|
) |
| |
Creates a new LightIntensity.
- Parameters
-
intensity | The intensity of the light. |
direction | The direction from which the light comes. |
Definition at line 44 of file Lights.cs.
◆ Deconstruct()
void VectSharp.ThreeD.LightIntensity.Deconstruct |
( |
out double |
intensity, |
|
|
out NormalizedVector3D |
direction |
|
) |
| |
Deconstructs the struct.
- Parameters
-
intensity | This parameter will hold the Intensity of the light. |
direction | This parameter will hold the Direction of the light. |
Definition at line 55 of file Lights.cs.
◆ Direction
NormalizedVector3D VectSharp.ThreeD.LightIntensity.Direction |
The direction towards from which the light comes.
Definition at line 37 of file Lights.cs.
◆ Intensity
double VectSharp.ThreeD.LightIntensity.Intensity |
The intensity of the light.
Definition at line 32 of file Lights.cs.
The documentation for this struct was generated from the following file: