Uses of Class
net.risingworld.api.utils.ColorRGBA
Package
Description
-
Uses of ColorRGBA in net.risingworld.api.assets
-
Uses of ColorRGBA in net.risingworld.api.objects.world
-
Uses of ColorRGBA in net.risingworld.api.ui
-
Uses of ColorRGBA in net.risingworld.api.ui.style
-
Uses of ColorRGBA in net.risingworld.api.utils
Modifier and TypeFieldDescriptionstatic final ColorRGBA
ColorRGBA.Black
Black color (0, 0, 0)static final ColorRGBA
ColorRGBA.Blue
Blue color (0, 0, 1)static final ColorRGBA
ColorRGBA.Clear
Black color with no alpha (0, 0, 0)static final ColorRGBA
ColorRGBA.Green
Green color (0, 1, 0)static final ColorRGBA
ColorRGBA.Grey
Grey color (0.5, 0.5, 0.5)static final ColorRGBA
ColorRGBA.Red
Red color (1, 0, 0)static final ColorRGBA
ColorRGBA.White
White color (1, 1, 1)Modifier and TypeMethodDescriptionColorRGBA.fromIntRGBA
(int rgba) ColorRGBA.interpolateLocal
(ColorRGBA color, float mu) Interpolates this color to the provided final color, e.g if this color is (0, 0, 1, 1), and the final color is (1, 0.5f, 0, 1), the result (by using a mu-value of 0.5f) would be (0.5f, 0.25f, 0.5f, 1)ColorRGBA.set
(float r, float g, float b, float a) Sets the r, g, b and a values of this color to the provided values.Sets the r, g, b and a values of this color to the values of the provided color.Modifier and TypeMethodDescriptionColorRGBA.interpolateLocal
(ColorRGBA color, float mu) Interpolates this color to the provided final color, e.g if this color is (0, 0, 1, 1), and the final color is (1, 0.5f, 0, 1), the result (by using a mu-value of 0.5f) would be (0.5f, 0.25f, 0.5f, 1)Sets the r, g, b and a values of this color to the values of the provided color. -
Uses of ColorRGBA in net.risingworld.api.worldelements
Modifier and TypeMethodDescriptionvoid
Sets the color (RGBA) of the area (the inner part, not the frame).void
Area3D.setFrameColor
(ColorRGBA color) Sets the color of the frame.