Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
PhongIntensity.cs
1
using
System;
2
3
namespace
Waher.Script.Graphs3D
4
{
9
public
class
PhongIntensity
10
{
11
private
readonly
float
red;
12
private
readonly
float
green;
13
private
readonly
float
blue;
14
private
readonly
float
alpha;
15
24
public
PhongIntensity
(
float
Red
,
float
Green
,
float
Blue
,
float
Alpha
)
25
{
26
this.red =
Red
;
27
this.green =
Green
;
28
this.blue =
Blue
;
29
this.alpha =
Alpha
;
30
}
31
35
public
float
Red
=> this.red;
36
40
public
float
Green
=> this.green;
41
45
public
float
Blue
=> this.blue;
46
50
public
float
Alpha
=> this.alpha;
51
55
public
bool
Opaque
=> this.alpha >= 255;
56
}
57
}
Waher.Script.Graphs3D.PhongIntensity
Contains information about the intensity of a light component, as used in the Phong reflection model....
Definition:
PhongIntensity.cs:10
Waher.Script.Graphs3D.PhongIntensity.Alpha
float Alpha
Alpha intensity.
Definition:
PhongIntensity.cs:50
Waher.Script.Graphs3D.PhongIntensity.Red
float Red
Red intensity.
Definition:
PhongIntensity.cs:35
Waher.Script.Graphs3D.PhongIntensity.PhongIntensity
PhongIntensity(float Red, float Green, float Blue, float Alpha)
Contains information about the intensity of a light component, as used in the Phong reflection model....
Definition:
PhongIntensity.cs:24
Waher.Script.Graphs3D.PhongIntensity.Blue
float Blue
Blue intensity.
Definition:
PhongIntensity.cs:45
Waher.Script.Graphs3D.PhongIntensity.Opaque
bool Opaque
If shader is 100% opaque.
Definition:
PhongIntensity.cs:55
Waher.Script.Graphs3D.PhongIntensity.Green
float Green
Green intensity.
Definition:
PhongIntensity.cs:40
Waher.Script.Graphs3D
Definition:
Canvas3D.cs:12
IoTGateway
Script
Waher.Script.Graphs3D
PhongIntensity.cs
Generated by
1.9.5