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 ColorRGBAColorRGBA.BlackBlack color (0, 0, 0)static final ColorRGBAColorRGBA.BlueBlue color (0, 0, 1)static final ColorRGBAColorRGBA.ClearBlack color with no alpha (0, 0, 0)static final ColorRGBAColorRGBA.GreenGreen color (0, 1, 0)static final ColorRGBAColorRGBA.GreyGrey color (0.5, 0.5, 0.5)static final ColorRGBAColorRGBA.RedRed color (1, 0, 0)static final ColorRGBAColorRGBA.WhiteWhite 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 TypeMethodDescriptionvoidSets the color (RGBA) of the area (the inner part, not the frame).voidArea3D.setFrameColor(ColorRGBA color) Sets the color of the frame.