public class MatRenderProps
extends java.lang.Object
Constructor and Description |
---|
MatRenderProps(int r,
int g,
int b,
float size) |
MatRenderProps(int r,
int g,
int b,
float size,
float scale) |
Modifier and Type | Method and Description |
---|---|
int |
blue() |
float |
getBaseSize() |
int |
getColor() |
float |
getInertiaScaling() |
float |
getScaledSize(double massVal) |
int |
green() |
int |
red() |
void |
setBaseSize(float size) |
void |
setColor(int col) |
void |
setColor(int r,
int g,
int b) |
void |
setInertiaScaling(float val) |
public MatRenderProps(int r, int g, int b, float size)
public MatRenderProps(int r, int g, int b, float size, float scale)
public void setInertiaScaling(float val)
public float getInertiaScaling()
public int getColor()
public void setColor(int col)
public void setColor(int r, int g, int b)
public float getBaseSize()
public void setBaseSize(float size)
public float getScaledSize(double massVal)
public int red()
public int green()
public int blue()
Processing Library miPhysics by James Leonard. (c) 2019