public class TSRColor3
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
TSRColor3() |
|
TSRColor3(float _fRed,
float _fGreen,
float _fBlue) |
protected |
TSRColor3(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
assign(float _fRed,
float _fGreen,
float _fBlue) |
void |
assignRGB(int _iRed,
int _iGreen,
int _iBlue) |
void |
assignRGBA(long _uiRGBA) |
TSRColor3 |
decrementBy(TSRColor3 _in) |
TSRColor3 |
decrementBy(TSRVector3 _in) |
void |
delete() |
TSRColor3 |
divideBy(float _in) |
protected void |
finalize() |
float |
getB() |
static TSRColor3 |
getBlack() |
static TSRColor3 |
getBlue() |
float[] |
getC() |
protected static long |
getCPtr(TSRColor3 obj) |
static TSRColor3 |
getCyan() |
float |
getG() |
static TSRColor3 |
getGray() |
static TSRColor3 |
getGreen() |
static TSRColor3 |
getMagenta() |
float |
getR() |
static TSRColor3 |
getRed() |
static TSRColor3 |
getWhite() |
static TSRColor3 |
getYellow() |
TSRColor3 |
incrementBy(TSRColor3 _in) |
TSRColor3 |
incrementBy(TSRVector3 _in) |
long |
makeWord() |
TSRColor3 |
multiplyBy(float _in) |
void |
saturate() |
void |
setB(float value) |
void |
setC(float[] value) |
void |
setG(float value) |
void |
setR(float value) |
long |
toRGBA() |
protected TSRColor3(long cPtr, boolean cMemoryOwn)
public TSRColor3()
public TSRColor3(float _fRed, float _fGreen, float _fBlue)
protected static long getCPtr(TSRColor3 obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void setR(float value)
public float getR()
public void setG(float value)
public float getG()
public void setB(float value)
public float getB()
public void setC(float[] value)
public float[] getC()
public void assign(float _fRed, float _fGreen, float _fBlue)
public void assignRGB(int _iRed, int _iGreen, int _iBlue)
public long makeWord()
public long toRGBA()
public void assignRGBA(long _uiRGBA)
public void saturate()
public TSRColor3 multiplyBy(float _in)
public TSRColor3 divideBy(float _in)
public TSRColor3 incrementBy(TSRVector3 _in)
public TSRColor3 decrementBy(TSRVector3 _in)
public static TSRColor3 getBlack()
public static TSRColor3 getGray()
public static TSRColor3 getWhite()
public static TSRColor3 getRed()
public static TSRColor3 getGreen()
public static TSRColor3 getBlue()
public static TSRColor3 getMagenta()
public static TSRColor3 getCyan()
public static TSRColor3 getYellow()