Package gaiasky.scene.record
Class BillboardDataset
java.lang.Object
gaiasky.scene.record.BillboardDataset
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionfloat[]
boolean
float
int[]
double[]
Maximum particle size for each graphics quality mode.float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
initialize
(PointDataProvider provider, boolean reload) void
setBlending
(String blending) void
setCompletion
(double[] completion) Sets the completion rate array per graphics quality.void
setCompletion
(Double completion) Sets the completion rate to skip particles, in [0..1].void
setDepthmask
(Boolean depthMask) void
setDepthMask
(Boolean depthMask) void
void
setIntensity
(Double intensity) void
setLayers
(int[] layers) void
setMaxsize
(Double maxSize) Deprecated.void
setMaxSize
(Double maxSize) Set the maximum size as a solid angle [deg].void
setMaxsizes
(double[] maxSizes) Deprecated.UsesetMaxSizes(double[])
instead.void
setMaxSizes
(double[] maxSizes) Set the maximum size as a list of solid angles [deg], one for each of the graphics qualities [LOW, MED, HIGH, ULTRA].void
void
-
Field Details
-
file
-
fileUnpack
-
data
-
type
-
layers
public int[] layers -
completion
public float[] completion -
size
public float size -
intensity
public float intensity -
depthMask
public boolean depthMask -
blending
-
maxSizes
public double[] maxSizesMaximum particle size for each graphics quality mode. It has 4 entries, from LOW to ULTRA. SeeSettings.GraphicsQuality
.
-
-
Constructor Details
-
BillboardDataset
public BillboardDataset()
-
-
Method Details
-
initialize
-
setFile
-
setSize
-
setIntensity
-
setType
-
setLayers
public void setLayers(int[] layers) -
setCompletion
Sets the completion rate to skip particles, in [0..1].- Parameters:
completion
- The completion rate, applied to all graphics qualities.
-
setCompletion
public void setCompletion(double[] completion) Sets the completion rate array per graphics quality.- Parameters:
completion
- Array with the completion rate for each quality setting.
-
setDepthMask
-
setDepthmask
-
setBlending
-
setMaxSize
Set the maximum size as a solid angle [deg]. The same setting is used for all graphics quality settings.- Parameters:
maxSize
- The maximum size in degrees.
-
setMaxsize
Deprecated.UsesetMaxSize(Double)
instead.Alias tosetMaxSize(Double)
.- Parameters:
maxSize
- The maximum size in degrees.
-
setMaxSizes
public void setMaxSizes(double[] maxSizes) Set the maximum size as a list of solid angles [deg], one for each of the graphics qualities [LOW, MED, HIGH, ULTRA].- Parameters:
maxSizes
- The maximum size per graphics quality, in degrees.
-
setMaxsizes
Deprecated.UsesetMaxSizes(double[])
instead.Alias tosetMaxSizes(double[])
.- Parameters:
maxSizes
- The maximum size per graphics quality, in degrees.
-
setMaxSize(Double)
instead.