public static class EmpArcEntityAPI.EmpArcParams extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
float |
brightSpotFadeFraction |
float |
brightSpotFullFraction
How large the moving bright area is, if arc.setSingleFlickerMode(true).
|
float |
fadeOutDist
Only used if arc.setFadedOutAtStart(true).
|
boolean |
flamesOutMissiles |
float |
flickerRateMult |
float |
glowAlphaMult |
java.awt.Color |
glowColorOverride |
float |
glowSizeMult |
float |
maxZigZagMult |
float |
minFadeOutMult
Arc fades in over at most 1f/minFadeOutMult of its length.
|
float |
movementDurMax |
float |
movementDurMin |
float |
movementDurOverride
Only used if arc.setSingleFlickerMode(true).
|
float |
nonBrightSpotMinBrightness |
float |
segmentLengthMult
Setting to a really high value produces straight lines,
higher values = more performant but also more angular-looking.
|
float |
zigZagReductionFactor
0.25f is pretty reasonable to reduce how far out it bends.
|
| Constructor and Description |
|---|
EmpArcParams() |
| Modifier and Type | Method and Description |
|---|---|
void |
loadFromSystemJson(org.json.JSONObject json) |
public float segmentLengthMult
public float zigZagReductionFactor
public float maxZigZagMult
public float fadeOutDist
public float minFadeOutMult
public float flickerRateMult
public float glowSizeMult
public float glowAlphaMult
public float movementDurOverride
public float movementDurMax
public float movementDurMin
public float brightSpotFullFraction
public float brightSpotFadeFraction
public float nonBrightSpotMinBrightness
public java.awt.Color glowColorOverride
public boolean flamesOutMissiles
public EmpArcParams()
public void loadFromSystemJson(org.json.JSONObject json)