VectSharp 2.5.0
A light library for C# vector graphics
Loading...
Searching...
No Matches
VectSharp.ThreeD.LightIntensity Struct Reference

Represents the intensity of a light source at a particular point. More...

Public Member Functions

 LightIntensity (double intensity, NormalizedVector3D direction)
 Creates a new LightIntensity. More...
 
void Deconstruct (out double intensity, out NormalizedVector3D direction)
 Deconstructs the struct. More...
 

Public Attributes

double Intensity
 The intensity of the light. More...
 
NormalizedVector3D Direction
 The direction towards from which the light comes. More...
 

Detailed Description

Represents the intensity of a light source at a particular point.

Definition at line 27 of file Lights.cs.

Constructor & Destructor Documentation

◆ LightIntensity()

VectSharp.ThreeD.LightIntensity.LightIntensity ( double  intensity,
NormalizedVector3D  direction 
)

Creates a new LightIntensity.

Parameters
intensityThe intensity of the light.
directionThe direction from which the light comes.

Definition at line 44 of file Lights.cs.

Member Function Documentation

◆ Deconstruct()

void VectSharp.ThreeD.LightIntensity.Deconstruct ( out double  intensity,
out NormalizedVector3D  direction 
)

Deconstructs the struct.

Parameters
intensityThis parameter will hold the Intensity of the light.
directionThis parameter will hold the Direction of the light.

Definition at line 55 of file Lights.cs.

Member Data Documentation

◆ 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: