Class BillboardEntityRenderSystem
java.lang.Object
gaiasky.scene.system.render.draw.billboard.BillboardEntityRenderSystem
- All Implemented Interfaces:
IObserver
-
Field Summary
Modifier and TypeFieldDescriptionprotected float
protected float
protected float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getRenderSizeBillboardGalaxy
(ICamera camera, Body body, ModelScaffolding scaffolding) float
getRenderSizeCelestial
(ICamera camera, com.badlogic.ashley.core.Entity entity, Body body, SolidAngle sa, ModelScaffolding scaffolding, ParticleExtra extra) double
getRenderSizeStarSet
(double size, double radius, double distToCamera, double solidAngle) void
Event notification call.void
renderBillboardCelestial
(BillboardView view, float alpha, ExtShaderProgram shader, IntMesh mesh, ICamera camera) void
renderBillboardCluster
(BillboardView view, float alpha, ExtShaderProgram shader, IntMesh mesh, ICamera camera) void
renderBillboardGalaxy
(BillboardView view, float alpha, ExtShaderProgram shader, IntMesh mesh, ICamera camera) void
renderBillboardStarSet
(BillboardView view, float alpha, ExtShaderProgram shader, IntMesh mesh, ICamera camera)
-
Field Details
-
solidAngleThresholdTopOverFovFactor
protected float solidAngleThresholdTopOverFovFactor -
solidAngleThresholdBottomOverFovFactor
protected float solidAngleThresholdBottomOverFovFactor -
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 solidAngle) -
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:IObserver
Event notification call.
-