public static class ColladaMeshShape.OrderedMeshShape extends Object implements OrderedRenderable
| Modifier and Type | Field and Description | 
|---|---|
| protected double | eyeDistanceDistance from the eye to the shape's reference position. | 
| protected ColladaMeshShape | meshShape to render. | 
| protected Matrix | renderMatrixTransform applied to this instance of the mesh. | 
| Constructor and Description | 
|---|
| OrderedMeshShape(ColladaMeshShape mesh,
                Matrix renderMatrix,
                double eyeDistance)Create a new ordered renderable. | 
| Modifier and Type | Method and Description | 
|---|---|
| double | getDistanceFromEye()Returns the ordered renderable's distance from the current view's eye point. | 
| void | pick(DrawContext dc,
    Point pickPoint)Executes a pick of the ordered renderable. | 
| void | render(DrawContext dc)Causes this  Renderableto render itself using the provided draw context. | 
protected double eyeDistance
protected ColladaMeshShape mesh
protected Matrix renderMatrix
public OrderedMeshShape(ColladaMeshShape mesh, Matrix renderMatrix, double eyeDistance)
mesh - Mesh shape to render.renderMatrix - Transform matrix to apply when rendering the shape.eyeDistance - Distance from the eye position to the shape's reference position.public double getDistanceFromEye()
OrderedRenderablegetDistanceFromEye in interface OrderedRenderablepublic void pick(DrawContext dc, Point pickPoint)
OrderedRenderablepick in interface OrderedRenderabledc - the current draw context.pickPoint - the pick point.public void render(DrawContext dc)
RenderableRenderable to render itself using the provided draw context.render in interface Renderabledc - the DrawContext to be usedDrawContext