Class BillboardEntityRenderSystem
java.lang.Object
gaiasky.scene.system.render.draw.billboard.BillboardEntityRenderSystem
- All Implemented Interfaces:
IObserver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatprotected floatprotected floatprotected float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetRenderSizeBillboardGalaxy(ICamera camera, Body body, ModelScaffolding scaffolding) floatgetRenderSizeCelestial(ICamera camera, com.badlogic.ashley.core.Entity entity, Body body, SolidAngle sa, ModelScaffolding scaffolding, ParticleExtra extra) doublegetRenderSizeStarSet(double size, double radius, double distToCamera, double viewAngle, double thDown, double thUp) voidEvent notification call.voidrenderBillboardCelestial(BillboardView view, float alpha, ExtShaderProgram shader, IntMesh mesh, ICamera camera) voidrenderBillboardCluster(BillboardView view, float alpha, ExtShaderProgram shader, IntMesh mesh, ICamera camera) voidrenderBillboardGalaxy(BillboardView view, float alpha, ExtShaderProgram shader, IntMesh mesh, ICamera camera) voidrenderBillboardStarSet(BillboardView view, float alpha, ExtShaderProgram shader, IntMesh mesh, ICamera camera)
-
Field Details
-
thpointTimesFovfactor
protected float thpointTimesFovfactor -
thupOverFovfactor
protected float thupOverFovfactor -
thdownOverFovfactor
protected float thdownOverFovfactor -
fovFactor
protected float fovFactor
-
-
Constructor Details
-
BillboardEntityRenderSystem
public BillboardEntityRenderSystem()
-
-
Method Details
-
getRenderSizeBillboardGalaxy
-
renderBillboardGalaxy
public void renderBillboardGalaxy(BillboardView view, float alpha, ExtShaderProgram shader, IntMesh mesh, ICamera camera) -
getRenderSizeStarSet
public double getRenderSizeStarSet(double size, double radius, double distToCamera, double viewAngle, double thDown, double thUp) -
renderBillboardStarSet
public void renderBillboardStarSet(BillboardView view, float alpha, ExtShaderProgram shader, IntMesh mesh, ICamera camera) -
getRenderSizeCelestial
public float getRenderSizeCelestial(ICamera camera, com.badlogic.ashley.core.Entity entity, Body body, SolidAngle sa, ModelScaffolding scaffolding, ParticleExtra extra) -
renderBillboardCelestial
public void renderBillboardCelestial(BillboardView view, float alpha, ExtShaderProgram shader, IntMesh mesh, ICamera camera) -
renderBillboardCluster
public void renderBillboardCluster(BillboardView view, float alpha, ExtShaderProgram shader, IntMesh mesh, ICamera camera) -
notify
Description copied from interface:IObserverEvent notification call.
-