VectSharp
2.2.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. | |
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.
|
get |
The colour of the material.
Definition at line 53 of file Materials.cs.