|
VectSharp 2.6.1
A light library for C# vector graphics
|
Represents a material that always has the same colour, regardless of light. More...

Public Member Functions | |||||||||||
| ColourMaterial (Colour colour) | |||||||||||
| Creates a new ColourMaterial instance. More... | |||||||||||
| Colour | GetColour (Point3D point, NormalizedVector3D surfaceNormal, Camera camera, IList< ILightSource > lights, IList< double > obstructions) | ||||||||||
Obtains the Colour at the specified point.
| |||||||||||
| Colour | GetColour (Point3D point, NormalizedVector3D surfaceNormal, Camera camera, IList< ILightSource > lights, IList< double > obstructions) | ||||||||||
| Obtains the Colour at the specified point. More... | |||||||||||
Properties | |
| Colour | Colour [get] |
| The colour of the material. More... | |
Represents a material that always has the same colour, regardless of light.
Definition at line 48 of file Materials.cs.
| VectSharp.ThreeD.ColourMaterial.ColourMaterial | ( | Colour | colour | ) |
Creates a new ColourMaterial instance.
| colour | The colour of the material. |
Definition at line 59 of file Materials.cs.
| Colour VectSharp.ThreeD.ColourMaterial.GetColour | ( | Point3D | point, |
| NormalizedVector3D | surfaceNormal, | ||
| Camera | camera, | ||
| IList< ILightSource > | lights, | ||
| IList< double > | obstructions | ||
| ) |
Obtains the Colour at the specified point.
| point | The point whose colour should be determined. |
| surfaceNormal | The normal to the surface at the specified point . |
| camera | The camera being used to render the scene. |
| lights | A list of light sources that are present in the scene. |
| obstructions | A list of values indicating how obstructed each light source is. |
Implements VectSharp.ThreeD.IMaterial.
Definition at line 65 of file Materials.cs.
|
get |
The colour of the material.
Definition at line 53 of file Materials.cs.