VectSharp  2.2.1
A light library for C# vector graphics
VectSharp.ThreeD.ColourMaterial Class Reference

Represents a material that always has the same colour, regardless of light. More...

Inheritance diagram for VectSharp.ThreeD.ColourMaterial:

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...
 

Detailed Description

Represents a material that always has the same colour, regardless of light.

Definition at line 48 of file Materials.cs.

Constructor & Destructor Documentation

◆ ColourMaterial()

VectSharp.ThreeD.ColourMaterial.ColourMaterial ( Colour  colour)

Creates a new ColourMaterial instance.

Parameters
colourThe colour of the material.

Definition at line 59 of file Materials.cs.

Property Documentation

◆ Colour

Colour VectSharp.ThreeD.ColourMaterial.Colour
get

The colour of the material.

Definition at line 53 of file Materials.cs.


The documentation for this class was generated from the following file: