コード例 #1
0
 public ColourRect(Colour colour)
     : this(colour, colour, colour, colour)
 {
 }
コード例 #2
0
 //! Set the colour values used when rendering this component.
 public void SetColours(Colour c)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
 /// <summary>
 /// Sets the colour of the struct
 /// </summary>
 /// <param name="colour"></param>
 public void SetColour(Colour colour)
 {
     Colour = new Lunatics.Mathematics.Vector4(colour.Red, colour.Green, colour.Blue, colour.Alpha);
 }