Uses of Class
net.risingworld.api.utils.ColorRGBA
Packages that use ColorRGBA
Package
Description
-
Uses of ColorRGBA in net.risingworld.api.assets
Methods in net.risingworld.api.assets that return types with arguments of type ColorRGBAMethods in net.risingworld.api.assets with parameters of type ColorRGBAMethod parameters in net.risingworld.api.assets with type arguments of type ColorRGBA -
Uses of ColorRGBA in net.risingworld.api.objects.world
Methods in net.risingworld.api.objects.world with parameters of type ColorRGBA -
Uses of ColorRGBA in net.risingworld.api.ui
Methods in net.risingworld.api.ui with parameters of type ColorRGBA -
Uses of ColorRGBA in net.risingworld.api.ui.style
Methods in net.risingworld.api.ui.style with parameters of type ColorRGBA -
Uses of ColorRGBA in net.risingworld.api.utils
Fields in net.risingworld.api.utils declared as ColorRGBAModifier 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)Methods in net.risingworld.api.utils that return ColorRGBAModifier 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.Methods in net.risingworld.api.utils with parameters of type ColorRGBAModifier 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.Constructors in net.risingworld.api.utils with parameters of type ColorRGBA -
Uses of ColorRGBA in net.risingworld.api.worldelements
Methods in net.risingworld.api.worldelements with parameters of type ColorRGBAModifier 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.