|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.appsystem.contentsystem.items.implementation.interfaces.shapes.TwoDShapeGeometry
public class TwoDShapeGeometry
Represents 2D shape geometry.
| Nested Class Summary | |
|---|---|
class |
TwoDShapeGeometry.ColourRGBA
Components should be in the range 0..1 |
class |
TwoDShapeGeometry.FloatPoint
The Class FloatPoint. |
class |
TwoDShapeGeometry.FloatVector
The Class FloatVector. |
class |
TwoDShapeGeometry.TriangleIndexes
The Class TriangleIndexes. |
| Constructor Summary | |
|---|---|
TwoDShapeGeometry()
|
|
| Method Summary | |
|---|---|
TwoDShapeGeometry.ColourRGBA[] |
getColors()
Gets the colors. |
TwoDShapeGeometry.FloatVector[] |
getNormals()
Gets the normals. |
TwoDShapeGeometry.FloatPoint[] |
getTexCoords()
Gets the tex coords. |
TwoDShapeGeometry.TriangleIndexes[] |
getTriIndexes()
Gets the tri indexes. |
TwoDShapeGeometry.FloatVector[] |
getTriVertexes()
Gets the tri vertexes. |
static TwoDShapeGeometry |
read(java.io.InputStream is)
Read. |
void |
setColors(TwoDShapeGeometry.ColourRGBA[] colors)
Sets the colors. |
void |
setNormals(TwoDShapeGeometry.FloatVector[] normals)
Sets the normals. |
void |
setTexCoords(TwoDShapeGeometry.FloatPoint[] texCoords)
Sets the tex coords. |
void |
setTriIndexes(TwoDShapeGeometry.TriangleIndexes[] ti)
Sets the tri indexes. |
void |
setTriVertexes(TwoDShapeGeometry.FloatVector[] triVertexes)
Sets the tri vertexes. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TwoDShapeGeometry()
| Method Detail |
|---|
public static TwoDShapeGeometry read(java.io.InputStream is)
throws java.io.IOException
is - the is
java.io.IOException - Signals that an I/O exception has occurred.public TwoDShapeGeometry.ColourRGBA[] getColors()
public TwoDShapeGeometry.FloatVector[] getNormals()
public TwoDShapeGeometry.FloatPoint[] getTexCoords()
public TwoDShapeGeometry.TriangleIndexes[] getTriIndexes()
public TwoDShapeGeometry.FloatVector[] getTriVertexes()
public void setColors(TwoDShapeGeometry.ColourRGBA[] colors)
colors - the new colorspublic void setNormals(TwoDShapeGeometry.FloatVector[] normals)
normals - the new normalspublic void setTexCoords(TwoDShapeGeometry.FloatPoint[] texCoords)
texCoords - the new tex coordspublic void setTriIndexes(TwoDShapeGeometry.TriangleIndexes[] ti)
ti - the new tri indexespublic void setTriVertexes(TwoDShapeGeometry.FloatVector[] triVertexes)
triVertexes - the new tri vertexes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||