Package gaiasky.util
Class Settings.SceneSettings.StarSettings
java.lang.Object
gaiasky.util.Settings.SceneSettings.StarSettings
- All Implemented Interfaces:
IObserver
- Enclosing class:
- Settings.SceneSettings
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionfloatdoubleWhen close to the stars, this factor controls the amount of glow.float[]floatfloatint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic floatComputes the runtime star point size taking into account cubemap renderingvoidEvent notification call.voidsetPointSize(float pointSize)
-
Field Details
-
brightness
public float brightness -
power
public float power -
pointSize
public float pointSize -
glowFactor
public double glowFactorWhen close to the stars, this factor controls the amount of glow. It should be set rather low, i.e., in [0.01,0.2]. -
opacity
public float[] opacity -
textureIndex
public int textureIndex -
group
-
threshold
-
-
Constructor Details
-
StarSettings
public StarSettings()
-
-
Method Details
-
getStarPointSize
public static float getStarPointSize()Computes the runtime star point size taking into account cubemap rendering- Returns:
- The point size in pixels
-
getStarTexture
-
setPointSize
public void setPointSize(float pointSize) -
notify
Description copied from interface:IObserverEvent notification call.
-