Package gaiasky.render
Interface IRenderable
- All Known Subinterfaces:
I3DTextRenderable,IAnnotationsRenderable,IGPUVertsRenderable,ILineRenderable,IModelRenderable,IPointRenderable,IQuadRenderable,IShapeRenderable
- All Known Implementing Classes:
Area,Axes,BackgroundModel,Billboard,BillboardGalaxy,BillboardGroup,CelestialBody,Constellation,ConstellationBoundaries,CosmicRuler,EclipticOrbit,Gaia,GenericSpacecraft,HeliotropicOrbit,HeliotropicSatellite,Invisible,KeyframesPathObject,Loc,MeshObject,MilkyWay,ModelBody,OctreeNode,Orbit,OrbitalElementsGroup,Particle,ParticleGroup,Planet,Points,Polyline,RecursiveGrid,Satellite,ShapeObject,Spacecraft,SphericalGrid,Star,StarCluster,StarGroup,StubModel,Text2D,VertsObject
public interface IRenderable
A top-level renderable interface that all renderable objects must extend
-
Method Summary
Modifier and TypeMethodDescriptionGets the component types of this entitydoubleGets the last distance to the camera calculated for this entityfloatReturns 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
-