Class ModelScaffolding

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

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

    • locVaMultiplier Link icon

      public float locVaMultiplier
      Solid angle factor for the locations of this object. Effectively multiplies the solid angle of locations.
    • locThresholdLabel Link icon

      public float locThresholdLabel
      ThresholdLabel for children locations.
    • sizeScaleFactor Link icon

      public float sizeScaleFactor
      Size factor, which can be set to scale model objects up or down
    • fadeOpacity Link icon

      public float fadeOpacity
      Fade opacity, special to model bodies
    • shadowMap Link icon

      public ShadowMapImpl shadowMap
      Shadow map properties
    • shadow Link icon

      public int shadow
      State flag; whether to render the shadow (number of times left)
    • refPlane Link icon

      public String refPlane
      Name of the reference plane for this object. Defaults to equator
    • refPlaneTransform Link icon

      public String refPlaneTransform
      Name of the transformation to the reference plane
    • inverseRefPlaneTransform Link icon

      public String inverseRefPlaneTransform
    • selfShadow Link icon

      public boolean selfShadow
      Whether we should render self-shadows for this object.
    • seed Link icon

      public List<Long> seed
      The seed for random components
    • randomize Link icon

      public List<String> randomize
      The components to randomize---possible values are ["model", "surface", "cloud", "atmosphere"]
    • billboardSizeFactor Link icon

      public float billboardSizeFactor
      The factor to apply to the size when rendered as billboard.
    • shadowMapFb Link icon

      public com.badlogic.gdx.graphics.glutils.FrameBuffer shadowMapFb
    • shadowMapFbGlobal Link icon

      public com.badlogic.gdx.graphics.glutils.FrameBuffer shadowMapFbGlobal
    • shadowMapCombined Link icon

      public com.badlogic.gdx.math.Matrix4 shadowMapCombined
    • shadowMapCombinedGlobal Link icon

      public com.badlogic.gdx.math.Matrix4 shadowMapCombinedGlobal
  • Constructor Details Link icon

    • ModelScaffolding Link icon

      public ModelScaffolding()
  • Method Details Link icon

    • isSelfShadow Link icon

      public boolean isSelfShadow()
      Whether self-shadows should be rendered for this object.
      Returns:
      Whether self-shadows should be rendered for this object.
    • setSelfShadow Link icon

      public void setSelfShadow(boolean selfShadow)
    • setShadowValues Link icon

      @Deprecated public void setShadowValues(double[] shadowMapValues)
      Deprecated.
      We determine the shadow values automatically now.
      Sets the shadow mapping values for this object
      Parameters:
      shadowMapValues - The values
    • setShadowvalues Link icon

      @Deprecated public void setShadowvalues(double[] shadowMapValues)
      Deprecated.
    • setSizeScaleFactor Link icon

      public void setSizeScaleFactor(Double sizescalefactor)
    • setSizescalefactor Link icon

      public void setSizescalefactor(Double sizescalefactor)
    • setRandomize Link icon

      public void setRandomize(String[] randomize)
    • setSeed Link icon

      public void setSeed(Long seed)
    • setSeed Link icon

      public void setSeed(int[] seed)
    • setRandomize Link icon

      public void setRandomize(String randomize)
    • setRefPlane Link icon

      public void setRefPlane(String refplane)
    • setReferencePlane Link icon

      public void setReferencePlane(String refplane)
    • setRefplane Link icon

      public void setRefplane(String refplane)
    • setLocVaMultiplier Link icon

      public void setLocVaMultiplier(Double locvamultiplier)
    • setLocvamultiplier Link icon

      public void setLocvamultiplier(Double locvamultiplier)
    • setLocThOverFactor Link icon

      public void setLocThOverFactor(Double locthoverfactor)
    • setLocthoverfactor Link icon

      public void setLocthoverfactor(Double locthoverfactor)
    • setLocThresholdLabel Link icon

      public void setLocThresholdLabel(Double val)
    • getSeed Link icon

      public long getSeed(String component)
      Gets the seed corresponding to the given component by matching it using the position in the randomize vector.
      Parameters:
      component - The component name.
      Returns:
      The seed.