Package gaiasky.scenegraph.component
Class ColourComponent
java.lang.Object
gaiasky.scenegraph.component.ColourComponent
public class ColourComponent
extends java.lang.Object
Colour component containing information about a colour
-
Field Summary
Fields Modifier and Type Field Description float[]
rgba
-
Constructor Summary
Constructors Constructor Description ColourComponent()
ColourComponent(float r, float g, float b)
ColourComponent(float r, float g, float b, float a)
ColourComponent(java.lang.String color)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
rgba
public float[] rgba
-
-
Constructor Details
-
ColourComponent
public ColourComponent() -
ColourComponent
public ColourComponent(float r, float g, float b, float a) -
ColourComponent
public ColourComponent(float r, float g, float b) -
ColourComponent
public ColourComponent(java.lang.String color)
-