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
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionfloat
double
When close to the stars, this factor controls the amount of glow.float[]
float
float
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic float
Computes the runtime star point size taking into account cubemap renderingvoid
Event notification call.void
setPointSize
(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:IObserver
Event notification call.
-