de.grogra.imp3d.gl20
public class GL20ResourceShapeParallelogram extends GL20ResourceShape
GL20RESOURCE_CLASS_LIGHT, GL20RESOURCE_CLASS_MASK, GL20RESOURCE_CLASS_MESH, GL20RESOURCE_CLASS_SHADER, GL20RESOURCE_CLASS_SHADERFRAGMENT, GL20RESOURCE_CLASS_SHAPE, GL20RESOURCE_CLASS_TEXTURE, GL20RESOURCE_LIGHT_DIRECTIONAL, GL20RESOURCE_LIGHT_POINT, GL20RESOURCE_LIGHT_SPOT, GL20RESOURCE_MESH_MULTI_USER, GL20RESOURCE_MESH_SINGLE_USER, GL20RESOURCE_SHADER_PHONG, GL20RESOURCE_SHADER_RGBA, GL20RESOURCE_SHADERFRAGMENT_BLEND, GL20RESOURCE_SHADERFRAGMENT_GRAYTONE, GL20RESOURCE_SHADERFRAGMENT_RGB, GL20RESOURCE_SHAPE_BOX, GL20RESOURCE_SHAPE_FRUSTUM, GL20RESOURCE_SHAPE_LINE, GL20RESOURCE_SHAPE_LINE_STRIP, GL20RESOURCE_SHAPE_PARALLELOGRAM, GL20RESOURCE_SHAPE_PLANE, GL20RESOURCE_SHAPE_POLYGONS, GL20RESOURCE_SHAPE_SPHERE, GL20RESOURCE_TEXTURE, GL20RESOURCE_TEXTURE_CUBEMAP, GL20RESOURCE_TYPE_MASK| Constructor and Description |
|---|
GL20ResourceShapeParallelogram() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyGeometry()
tell this
GL20ResourceShape that it should apply the
geometry to the GL20GfxServer |
void |
destroy()
destroy this
GL20ResourceShapeParallelogram |
float |
getAxis()
get the axis of this
GL20ResourceShapeParallelogram |
float |
getScaleU()
get the u scale of this
GL20ResourceShapeParallelogram |
float |
getScaleV()
get the v scale of this
GL20ResourceShapeParallelogram |
Vector3f |
getSecondAxis()
get the second axis of this
GL20ResourceShapeParallelogram |
boolean |
isUpToDate()
check if this
GL20ResourceShapeParallelogram is up to date. |
void |
setAxis(float axis)
set the axis of this
GL20ResourceShapeParallelogram |
void |
setScaleU(float scaleU)
set the u scale of this
GL20ResourceShapeParallelogram |
void |
setScaleV(float scaleV)
set the v scale of this
GL20ResourceShapeParallelogram |
void |
setSecondAxis(Vector3f secondAxis)
set the second axis of this
GL20ResourceShapeParallelogram |
void |
update()
update the state of this
GL20ResourceShapeParallelogram |
getShader, getShapeTransformationMatrix, getWorldTransformationMatrix, setShader, setShapeTransformationMatrix, setWorldTransformationMatrixgetResourceClass, getResourceClassType, getResourceTypepublic void applyGeometry()
GL20ResourceShape that it should apply the
geometry to the GL20GfxServerapplyGeometry in class GL20ResourceShapepublic void destroy()
GL20ResourceShapeParallelogramdestroy in class GL20ResourceShapeGL20Resourcepublic final float getAxis()
GL20ResourceShapeParallelogrampublic final float getScaleU()
GL20ResourceShapeParallelogrampublic final float getScaleV()
GL20ResourceShapeParallelogrampublic final Vector3f getSecondAxis()
GL20ResourceShapeParallelogrampublic boolean isUpToDate()
GL20ResourceShapeParallelogram is up to date.isUpToDate in class GL20ResourceShapetrue - this GL20ResourceShapeParallelogram is up to date.GL20Resourcepublic final void setAxis(float axis)
GL20ResourceShapeParallelogramaxis - the axispublic final void setScaleU(float scaleU)
GL20ResourceShapeParallelogramscaleU - the u scalepublic final void setScaleV(float scaleV)
GL20ResourceShapeParallelogramscaleV - the v scalepublic final void setSecondAxis(Vector3f secondAxis)
GL20ResourceShapeParallelogramsecondAxis - the second axispublic void update()
GL20ResourceShapeParallelogramupdate in class GL20ResourceShapeGL20Resource