Package com.ardor3d.math.type
Interface ReadOnlyColorRGBA
- All Known Implementing Classes:
ColorRGBA
public interface ReadOnlyColorRGBA
-
Method Summary
Modifier and TypeMethodDescriptionadd
(ReadOnlyColorRGBA source, ColorRGBA store) int
int
clone()
divide
(ReadOnlyColorRGBA scale, ColorRGBA store) float
getAlpha()
float
getBlue()
float
getGreen()
float
getRed()
float
getValue
(int index) lerp
(ReadOnlyColorRGBA endColor, float scalar, ColorRGBA store) multiply
(ReadOnlyColorRGBA scale, ColorRGBA store) subtract
(ReadOnlyColorRGBA source, ColorRGBA store) float[]
toArray
(float[] store)
-
Method Details
-
getRed
float getRed() -
getGreen
float getGreen() -
getBlue
float getBlue() -
getAlpha
float getAlpha() -
getValue
float getValue(int index) -
toArray
float[] toArray(float[] store) -
clamp
-
asIntARGB
int asIntARGB() -
asIntRGBA
int asIntRGBA() -
add
-
add
-
subtract
-
subtract
-
multiply
-
multiply
-
divide
-
divide
-
lerp
-
asHexRRGGBBAA
String asHexRRGGBBAA() -
clone
ColorRGBA clone()
-