public class GeometryInstance
extends java.lang.Object
Constructor and Description |
---|
GeometryInstance() |
Modifier and Type | Method and Description |
---|---|
void |
finalize() |
void |
setCenter(double x,
double y,
double z)
Set the instance center.
|
void |
setColor(float r,
float g,
float b,
float a)
If called, this will override the color on the geometry.
|
void |
setColor(int color)
Set the color used by the geometry.
|
void |
setDuration(double duration)
If using motion, how long the instance takes to move from one center to another.
|
void |
setEndCenter(double x,
double y,
double z)
If using motion, set the end position.
|
void |
setMatrix(Matrix4d mat)
Matrix to apply for rotation and so forth.
|
void |
setSelectable(boolean selectable)
If set, the model will be selectable.
|
public void setCenter(double x, double y, double z)
public void setEndCenter(double x, double y, double z)
public void setDuration(double duration)
public void setMatrix(Matrix4d mat)
public void setColor(float r, float g, float b, float a)
public void setColor(int color)
public void setSelectable(boolean selectable)
public void finalize()
finalize
in class java.lang.Object