Class Render

java.lang.Object
gaiasky.scene.component.Render
All Implemented Interfaces:
com.badlogic.ashley.core.Component, IRenderable

public class Render extends Object implements com.badlogic.ashley.core.Component, IRenderable
  • Field Details Link icon

    • entity Link icon

      public com.badlogic.ashley.core.Entity entity
  • Constructor Details Link icon

    • Render Link icon

      public Render()
  • Method Details Link icon

    • getEntity Link icon

      public com.badlogic.ashley.core.Entity getEntity()
    • getComponentType Link icon

      public ComponentTypes getComponentType()
      Description copied from interface: IRenderable
      Gets the component types of this entity
      Specified by:
      getComponentType in interface IRenderable
      Returns:
      The component types
    • getDistToCamera Link icon

      public double getDistToCamera()
      Description copied from interface: IRenderable
      Gets the last distance to the camera calculated for this entity
      Specified by:
      getDistToCamera in interface IRenderable
      Returns:
      The distance
    • getOpacity Link icon

      public float getOpacity()
      Description copied from interface: IRenderable
      Returns the opacity of this renderable
      Specified by:
      getOpacity in interface IRenderable
      Returns:
      The opacity