Class Satellite

    • Field Detail

      • TH_ANGLE_NONE

        protected static final double TH_ANGLE_NONE
      • TH_ANGLE_POINT

        protected static final double TH_ANGLE_POINT
      • TH_ANGLE_QUAD

        protected static final double TH_ANGLE_QUAD
      • parentOrientation

        protected boolean parentOrientation
      • hidden

        protected boolean hidden
      • orientationf

        protected com.badlogic.gdx.math.Matrix4 orientationf
    • Constructor Detail

      • Satellite

        public Satellite()
    • Method Detail

      • THRESHOLD_NONE

        public double THRESHOLD_NONE()
        Description copied from class: CelestialBody
        radius/distance limit for rendering at all. If angle is smaller than this quantity, no rendering happens.
        Specified by:
        THRESHOLD_NONE in class CelestialBody
      • THRESHOLD_POINT

        public double THRESHOLD_POINT()
        Description copied from class: ModelBody
        Angle limit for rendering as point. If angle is any bigger, we render with shader.
        Overrides:
        THRESHOLD_POINT in class ModelBody
      • THRESHOLD_QUAD

        public double THRESHOLD_QUAD()
        Description copied from class: CelestialBody
        radius/distance limit for rendering as shader. If angle is any bigger, we render as a model.
        Specified by:
        THRESHOLD_QUAD in class CelestialBody
      • doneLoading

        public void doneLoading​(com.badlogic.gdx.assets.AssetManager manager)
        Overrides:
        doneLoading in class ModelBody
      • forceUpdatePosition

        protected void forceUpdatePosition​(ITimeFrameProvider time,
                                           boolean force)
        Default implementation, only sets the result of the coordinates call to pos
        Parameters:
        time - Time to get the coordinates
        force - Whether to force the update
      • updateLocalTransform

        protected void updateLocalTransform()
        Description copied from class: ModelBody
        Update the local transform with the transform and the rotations/scales necessary. Override if your model contains more than just the position and size.
        Overrides:
        updateLocalTransform in class ModelBody
      • setToLocalTransform

        public void setToLocalTransform​(float sizeFactor,
                                        com.badlogic.gdx.math.Matrix4 localTransform,
                                        boolean forceUpdate)
        Sets the local transform of this satellite
        Overrides:
        setToLocalTransform in class ModelBody
      • setParentorientation

        public void setParentorientation​(java.lang.String parentorientation)
      • setHidden

        public void setHidden​(java.lang.String hidden)
      • setSize

        public void setSize​(java.lang.Long size)
        Description copied from class: AbstractPositionEntity
        Sets the absolute size (diameter) of this entity
        Overrides:
        setSize in class AbstractPositionEntity
        Parameters:
        size - The diameter in internal units
      • setSize

        public void setSize​(java.lang.Double size)
        Description copied from class: CelestialBody
        Sets the size of this entity in kilometers
        Overrides:
        setSize in class CelestialBody
        Parameters:
        size - The size in km