Package gaiasky.render.api
Interface IRenderable
- All Known Subinterfaces:
I3DTextRenderable
,IAnnotationsRenderable
,IBillboardRenderable
,IGPUVertsRenderable
,ILineRenderable
,IModelRenderable
,IPointRenderable
,IShapeRenderable
- All Known Implementing Classes:
LabelView
,LineView
,OctreeNode
,PointView
,Render
,RenderView
,ShapeEntityRenderSystem
,VertsView
public interface IRenderable
A top-level renderable interface that all renderable objects must extend
-
Method Summary
Modifier and TypeMethodDescriptionGets the component types of this entitydouble
Gets the last distance to the camera calculated for this entityfloat
Returns the opacity of this renderable
-
Method Details
-
getComponentType
ComponentTypes getComponentType()Gets the component types of this entity- Returns:
- The component types
-
getDistToCamera
double getDistToCamera()Gets the last distance to the camera calculated for this entity- Returns:
- The distance
-
getOpacity
float getOpacity()Returns the opacity of this renderable- Returns:
- The opacity
-